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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
5 2 3 4

Call for the templates of API response. Empty json arrays

Hello,

We faced with the issue. Responses to the API calls "SEQ-screen-sync-individual: Perform Synchronous Screening: Individual", "SEQ-screen-sync-organisation: Perform Synchronous Screening: Organisation", "SEQ-case-create-vessel: Save a case: Vessel" all time is empty.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

For example, the request for SEQ-screen-sync-individual: Perform Synchronous Screening: Individual

POST /v1/cases/screeningRequest Date: Wed, 23 Jan 2019 09:59:02 GMT Content-Type: application/json Authorization: Signature keyId="ffd37d13-36f9-4efc-ab5e-d9ec9dbee778",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length",signature="6iO1VyttxpY4N2pFM/wiY+1Xfo/W7NSDeFrJS9dstZ4=" Content-Length: 968 cache-control: no-cache Postman-Token: 3881ac14-0c25-44ef-bf8b-1becafca8d8b User-Agent: PostmanRuntime/7.4.0 Accept: */* Host: rms-world-check-one-api-pilot.thomsonreuters.com accept-encoding: gzip, deflate { "groupId":"0a3687cf-6523-1d64-994c-e1190000027b", "entityType": "INDIVIDUAL", "providerTypes": [ "WATCHLIST" ], "name": "putin", "secondaryFields":[ { "typeId":"SFCT_1", "value":"MALE" }, { "typeId":"SFCT_2", "dateTimeValue":{ "timelinePrecision":"ON", "pointInTimePrecision":"DAY", "utcDateTime":316310400000, "timeZone":null } }, { "typeId":"SFCT_3", "value":"USA" }, { "typeId":"SFCT_4", "value":"AUS" }, { "typeId":"SFCT_5", "value":"ABW" } ], "customFields":[ { "typeId":"SFCT_1", "value":"" }, { "typeId":"--REQUIRED-VALUE-MISSING--", "value":"custom field 2 sample value" }, { "typeId":"--REQUIRED-VALUE-MISSING--", "value":"mandatory custom field sample value" } ] }

The responce is follow

HTTP/1.1 500 status: 500 X-Application-Context: application Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0 X-XSS-Protection: 1; mode=block X-Frame-Options: DENY X-Content-Type-Options: nosniff Date: Wed, 23 Jan 2019 09:59:01 GMT Content-Type: application/json Transfer-Encoding: chunked X-Cnection: close Server: "" []

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Could you assist us with the issue: to provide the templates of the responses for the cases mentioned below or the set of test data for found matches?

Thank you in advance!

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

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

1 Answer

· Write an Answer
Upvotes
Accepted
4.2k 8 5 6

@otkachova

I see the payload you are passing is incorrect.

If you do not want to use custom fields, you can use the below JSON:

{  "groupId":"{
                {group-id}}",  "entityType": "INDIVIDUAL",  "providerTypes": [  "WATCHLIST"  ],  "name": "putin",  "secondaryFields":[ {    "typeId":"SFCT_1",  "value":"MALE"  },  {    "typeId":"SFCT_2",  "dateTimeValue":{    "timelinePrecision":"ON",  "pointInTimePrecision":"DAY",  "utcDateTime":316310400000,  "timeZone":null  }  },  {   "typeId":"SFCT_3",  "value":"USA"  },  {    "typeId":"SFCT_4",  "value":"AUS"  },  {    "typeId":"SFCT_5",  "value":"ABW"  }   ],  "customFields":[]}

Please replace the value of { {group-id}} with the group Id you would like to use to screen the case.

If you want to use custom fields, you can use the belowJSON:

{  "groupId":"{
                {group-id}}",  "entityType": "INDIVIDUAL",  "providerTypes": [  "WATCHLIST"  ],  "name": "putin",  "secondaryFields":[ {    "typeId":"SFCT_1",  "value":"MALE"  },  {    "typeId":"SFCT_2",  "dateTimeValue":{    "timelinePrecision":"ON",  "pointInTimePrecision":"DAY",  "utcDateTime":316310400000,  "timeZone":null  }  },  {   "typeId":"SFCT_3",  "value":"USA"  },  {    "typeId":"SFCT_4",  "value":"AUS"  },  {    "typeId":"SFCT_5",  "value":"ABW"  }   ],  "customFields":[   {    "typeId":"{
                {custom-field-1}}",  "value":"custom field 1 sample value"  },  {    "typeId":"{
                {custom-field-2}}",  "value":"custom field 2 sample value"  },  {     "typeId":"{
                {custom-field-3}}",  "value":"mandatory custom field sample value"  }  ]}

Please replace the value of "{ {custom-field-1}}", "{ {custom-field-2}}","{ {custom-field-3}}" with the typeId values you can obtain by calling the API "SEQ-pre-group-case-template: Get the case template for a group". You can get the entire template from this API. Also, replace the value of the attribute "values" to relevant text (it is a free text field).

If you are using custom fields, you might have to add custom fields to your account by using the admin UI of the WC User Interface. After this, you can call the "SEQ-pre-group-case-template: Get the case template for a group" to find the typeIds of the custom field and then plug them in the above JSON and send the request.

Please have a look at this link to for more detailed steps on how to successfully screen cases.

https://developers.thomsonreuters.com/customer-and-third-party-screening/world-check-one-api/quick-start?content=54647&type=quick_start

Thanks,

Irfan Khan

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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