HI,
We have created our own custom watchlist and uploaded it. However when we include the CLIENT_WATCHLIST provider type to the list of providers we are getting INVALID_PROVIDER_TYPE and INVALID_ENTITY_TYPE errors.
Here is the request JSON:
{
"groupId":"{ {group-id}}",
"entityType": "INDIVIDUAL",
"caseId":"OGS-AfterDqWl-CWL-2",
"providerTypes": [
"WATCHLIST","CLIENT_WATCHLIST"
],
"name": "Tannourine",
"secondaryFields":[
{
"typeId": "SFCT_1",
"value": "MALE"
}
],
"customFields":[
]
}
and the Response we get:
[
{
"error": "INVALID_PROVIDER_TYPE",
"cause": "Provider types are invalid and must include at least WATCHLIST."
},
{
"error": "INVALID_ENTITY_TYPE",
"cause": "Entity type is mandatory and must be one of: INDIVIDUAL, ORGANISATION, VESSEL, UNSPECIFIED and must be compatible with each provider type used in screening a case."
}
]
Note: removing the Client_Watch_list from the providers list results in a valid response.