For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
5 0 0 4

Error 400 using country secondary fields

Hi, i tryng to create a new case (endpoint https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/cases)

Using this body, i insert my new case correctly:

{"secondaryFields":[{"typeId":"SFCT_1","value":"MALE"},{"typeId":"SFCT_2","dateTimeValue":"1973-05-26"}],"entityType":"INDIVIDUAL","customFields":[],"groupId":"0a3687cf-5fe4-105f-9808-44b100000521","providerTypes":["WATCHLIST"],"name":"Mario Rossi"}

When i add a new country field in secondary fields, i receive error 400:

{"secondaryFields":[{"typeId":"SFCT_1","value":"MALE"},{"typeId":"SFCT_2","dateTimeValue":"1973-05-26"},{"typeId":"SFCT_4","Value":"ITA"}],"entityType":"INDIVIDUAL","customFields":[],"groupId":"0a3687cf-5fe4-105f-9808-44b100000521","providerTypes":["WATCHLIST"],"name":"Mario Rossi"}

Can someone help me?

Thanks

world-checkworld-check-onedatascreening
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
526 2 2 3

Hello @mirko.fedele,

I looked and tested your code. I also received 400 error message in the postman.

After changing "Value" to "value" I've received 200 OK message.

The parameters names are casesensitive.

Could you please check it?

Best Regards

Kamil

{"secondaryFields":[{"typeId":"SFCT_1","value":"MALE"},{"typeId":"SFCT_2","dateTimeValue":"1973-05-26"},{"typeId":"SFCT_4","value":"USA"}],"entityType":"INDIVIDUAL","customFields":[],"groupId":"0a3687cf-5fe4-105f-9808-44b100000521","providerTypes":["WATCHLIST"],"name":"Mario Rossi"}

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
5 0 0 4

Perfect! I've received 200

Thanks!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea