Why does the screening results not contains any secondary field results?

My algorithm of action

1. creating a new case POST /cases

2. calling screening POST /cases/{caseSystemId}/screeningRequest

3. Getting results GET /cases/{caseSystemId}/results

All results contain an empty list of secondary field results. I need the secondary fields to find out the sex, date of birth, etc.

What am I doing wrong?

Best Answer

  • Irfan.Khan
    Irfan.Khan LSEG
    Answer ✓

    @kontur_prizma

    I think you are not passing the secondary identifiers in your request payload in step 1 of your algorithm. If you do not pass any secondary identifiers, you will receive none back in your response payload.

    Can you please try the below payload and see if it returns back the secondary identifier match.

    {"groupId": "{{Enter your group-id}}", "entityType": "INDIVIDUAL", "providerTypes": [ "WATCHLIST" ], "name": "Putin", "customFields": [], "secondaryFields": [{ "typeId": "SFCT_1", "value": "MALE"}, { "typeId": "SFCT_2", "dateTimeValue": "2016-10-12" }, {"typeId": "SFCT_3", "value": "USA" }, { "typeId": "SFCT_4","value": "AUS" }, { "typeId": "SFCT_5", "value": "ABW" } ]}

    Please use Jsonlint.com to format the JSON payload mentioned here and you should not get a 401 error.

    Kindly let us know if this works.

Answers