question

Upvotes
Accepted
5 4 5 11

test the operation results

Bonjour, je suis nouveau client de l'API world-check-one-api j'ai reçu les clés de l'API.

je voudrais tester l'opération https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/cases/--REQUIRED-VALUE-MISSING--/results mais çà ne marche pas sur Postman . VOus pouvez m'aider à lancer mon premier test de votre API SVP ?

world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
4.2k 8 5 6

@cao-trung.do

You are getting the error "pm is not defined" because you are using the Chrome version of postman. Please use the native app of postman to avoid the error you are getting.

I am able to replicate the issue at my end by using the chrome version of Postman. With the native app, I am able to connect to the API correctly.

Please have a look at this link:

https://stackoverflow.com/questions/46243745/postman-scripts-pm-is-not-defined

Also, please check your firewall to know why are you unable to connect to WC1 API using the native app. Or may be try from a different network connection.

Kindly let me know if this helps.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@cao-trung.do Kindly let us know if you were able to connect to the API server from the native Postman app after configuring your VPN/firewall or by using a different network connection.

Upvotes
4.2k 8 5 6

@cao-trung.do

In order to make this API call work, you will have to successfully screen/save a case. This will generate a case system Id for the case. Once you have the case system Id, you can the URL in Postman.

https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/cases/{
                 {case-system-id}}/results

{ {case-system-id}} will pick up the value from the Postman environment, so kindly save the case system Id of whose results you want to fetch in the Postman environment variable-case system id.

Also, please have a look at this link to know more about how to use Postman to call API requests to WC1.

https://developers.refinitiv.com/customer-and-third-party-screening/world-check-one-api/quick-start

https://developers.refinitiv.com/customer-and-third-party-screening/world-check-one-api/quick-start?content=45260&type=quick_start

https://developers.refinitiv.com/customer-and-third-party-screening/world-check-one-api/quick-start?content=54647&type=quick_start

Thanks,

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@cao-trung.do Kindly let us know if the answer posted was helpful.

If you are still facing difficulties in sending Postman requests, I would be glad to assist you.

Upvotes
5 4 5 11

Hello,

Yes if possible could you assist me please ?
My email : houcem-eddine.letaief-ext@socgen.com

My phone : +33 1 42 13 29 20

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@cao-trung.do

Request you to provide me the request headers and the response headers of the failed API call so that I can investigate the cause of this. As you are using Postman for your tests, please post the screenshot of the Postman Console log so that I can look into it. You can use Ctrl + Alt + C to open console in Postman and then call the API to capture the request headers and response headers in it. Please mask the API key before posting the screenshot of the Postman Console.

Upvotes
5 4 5 11

I add the screenshot


console-postman.png (27.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
4.2k 8 5 6

@cao-trung.do

The screenshot you have shared shows that the postman collection and postman environment is not correct.

Can you please re import the WC1 API Postman collection and Postman environment and try again.

I am attaching the Postman Collection and the environment here. Please delete the old environment and collection and re import the ones I have attached on this post.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5 4 5 11

Error : pm is not defined


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5 4 5 11

thank you for your response. I will check the firewall

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.