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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 0 0 0

error cases for this SEQ-case-update: Update a case API

Hi @Mehran.Ahmed Khan,

we are using SEQ-case-update: Update a case for updating the existing case. In that I have received

[

{

"error": "SECONDARY_FIELDS_NOT_ALLOWED",

"cause": "Provided secondary fields must be compatible with the used entity type and provider type. Available secondary fields for each pair of provider type and entity type are provided in the group's case template."

}

]

Could you please share the details for this error.

world-checkworld-check-one
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
Accepted
1.1k 3 1 2

@Ravi.muniram1

Hi,

So there are 2 observations that I have done with your issue:

1. Your case was initially created by selecting entityType as Individual with the secondary fields for Individuals and in the update API calls you are trying to update it to Organisation with the secondary fields for Organisation which I believe is not possible, which is why you're getting an error. Please ensure you use the entityType "ORGANISATION" during the initial screening itself when you screen any Organisations in World-Check One and use entityType "INDIVIDUAL" when you want to screen Individuals.

2. Your payload for updating a case is incorrect, you will have to just pass caseId in the payload and not the caseSystemId, the correct payload would look like below keeping in mind the changes I have suggested in point 1.

Hope this helps, let me know if you need any further information.

{
    "secondaryFields": [{
        "typeId": "SFCT_6",
        "value": "IND"
    }],
    "entityType": "ORGANISATION",
    "groupId": "5jb7eqa1yzfi1fkixlks06n2k",
    "caseId": "0055010027",
    "providerTypes": ["WATCHLIST"],
    "name": "ABC Company Company"
}
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
1.1k 3 1 2

@Ravi.muniram1


To investigate this further please share the case system Id of the case that you are trying to update and also the payload for the "update a case" API that is failing with the error.



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
1 0 0 0

Hi @Mehran Khan

please find the below details.

{"caseSystemId":"5jb7ve3g7pv01fl3md24lux7u","secondaryFields":[{"typeId":"SFCT_6","value":"IND"}],"entityType":"ORGANISATION","groupId":"5jb7eqa1yzfi1fkixlks06n2k","caseId":"0055010027","providerTypes":["WATCHLIST"],"name":"ABC Company Company"}


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