Integration of WC1 API into our CRM back end is working in development environment but it's giving us 400 error in production env.what can be the issue?
Hi @raksina.samasiri,
I reached out directly to @ashwinikumar via email to resolve the query. Thank you.
Regards,
Ssneha Balasubramanian.
Hi @ashwinikumar,
Can you send me the request and response headers and body so that I can look into this. Thank you.
I am trying to create screening cases in bulk @ssneha.balasubramanian
here is my webservice.cs file, which I am consuming from another controller.
WCApiService.txt
API parameters as follows:
basepath="https://api-worldcheck.refinitiv.com";gatewayurl="/v2/";methodType="POST";requestPath="cases/saveAndScreen";contentType="application/json";content="{\"groupId\":\"goupidGoeshere\",\"providerTypes\":[\"WATCHLIST\"],\"nameTransposition\":false,\"caseScreeningState\":{\"WATCHLIST\":\"INITIAL\"},\"cases\":[{\"entityType\":\"ORGANISATION\",\"name\":\"ELEGANT\",\"secondaryFields\":[{\"typeId\":\"SFCT_191\",\"value\":\"0148,AE-TLN,ARE\"},{\"typeId\":\"SFCT_6\",\"value\":\"ARE\"}],\"customFields\":[]},{\"entityType\":\"INDIVIDUAL\",\"name\":\"KAUSHAl\",\"secondaryFields\":[{\"typeId\":\"SFCT_1\",\"value\":\"MALE\"},{\"typeId\":\"SFCT_2\",\"dateTimeValue\":\"1979-09-15\"},{\"typeId\":\"SFCT_3\",\"value\":\"ARE\"},{\"typeId\":\"SFCT_4\",\"value\":\"IND\"},{\"typeId\":\"SFCT_5\",\"value\":\"IND\"},{\"typeId\":\"SFCT_191\",\"value\":\"Z4977489,IN-PASS,IND\"}],\"customFields\":[]}]}";
please let me know, if you want any.hoping to get some fruitful response.Thank you!
Can you post the response you're getting as well? Thank you.
The remote server returned an error: (400)
Could you please provide further assistance with the question poster?
Thanks,AHS