Bad request - please check your parameters

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

Answers

  • The parameters providerTypes is mandatory.


    "data": {

    "name": "TOTALENERGIES SE",

    "groupId": "********************",

    "entityType": "ORGANISATION",

    "providerTypes": ["WATCHLIST"]
    }

  • Hi @clement.tanguy


    Thank you for reaching out. If the issue persists, could you please share the response body that includes the specific error message?


    Additionally, please ensure that the provider type is included in your request body, as it is a mandatory field. Omitting it will result in a 400 Bad Request error.


    Thanks,

    Ram.


  • The documentation is not correct. The fact that this field is mandatory is missing

  • Hi @clement.tanguy,

    Could you please provide the response body that contains the specific error message? Meanwhile, we are also reviewing the documentation.

    Thanks,

    Ram.