I am working on the integration World Check One API call into the system. I am able to perform GET request for getting the groups, but unable to perform post and create new case.
I had tried to use Postman with provided WC1 Pilot environment to perform same API call and it able to create the case. I had followed the API sample for c# and it still gives me 401 unauthorized response.
Below is my post request header:
Data to sign:
(request-target): post /v1/cases host: rms-world-check-one-api-pilot.thomsonreuters.com date: Mon, 30 Apr 2018 09:15:07 GMT content-type: application/json content-length: 181 { "caseId": "GOLFLT", "entityType": "ORGANISATION", "groupId": "177a80e6-cfb5-4553-a9fc-a54f97b62198", "name": "Golf Ltd", "providerTypes": [ "WATCHLIST" ] }
Header:
Signature keyId="{key}",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length",signature="{signature}"
Endpoint:
https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/cases