I try to call on POST endpoint on this API : api-worldcheck.refinitiv.com/v2/cases/screeningRequest
Language : Javascript
I have an error message : Bad request - please check your parameters
I am reading this documentation to set my app : https://developers.lseg.com/content/dam/devportal/en_us/product-docs/wc1-api/documentation/v2/schema-reference/wc1-api-schema-reference-documentation.html#tag/case/operation/screen
My call :
{
"url": "https://api-worldcheck.refinitiv.com/v2/cases/screeningRequest",
"headers": {
"Authorization": "Signature keyId="************",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length",signature="***********"",
"Date": "Fri, 20 Sep 2024 06:13:49 GMT",
"content-type": "application/json",
"content-length": "93"
},
"data": {
"groupId": "**********", required
"entityType": "INDIVIDUAL", required
"caseId": "",
"providerTypes": ["WATCHLIST"],
"caseScreeningState": {"WATCHLIST": "INITIAL"},
"name": "John Smith", required
"nameTransposition": false,
"secondaryFields": [],
"customFields": []
}
}
Thank for your help