For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 0 0 0

Please assist with a 401 Unauthorized status issue on all POST queries.

World Check One API
Good day team,

We are trying to retrieve articles/articleIds for a case system id, but all the POST queries are failing with a status code of 401. Please see below:

1653484482267.png

1653484660475.png

world-check-oneerror-401
1653484482267.png (341.5 KiB)
1653484660475.png (28.6 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.

1 Answer

· Write an Answer
Upvotes
Accepted
618 2 0 2

Hi @mushfiqah.benjamin,

Thank you for reaching out to us!

The reason you may be getting a 401 response code is because the body of your POST request is empty. Next to the tab "Pre-request Script", kindly populate the body as:

{

"articleIds": [

"{ {article-id}}",

"{ {article-id-2}}",

"{ {article-id-3}}"

]

}

The above body request should be in JSON format and the endpoint should contain a case-system-id as well with the POST request.

Furthermore, omit the Pre-request Script as suggested by the API end point "SEQ-case-mediacheck-articles-content: Work with MediaCheck articles content". This is the API endpoint you are trying to get an OK reponse for.

To get more insight into our API endpoints, I would suggest you explore our schema with the following link, please register if you have not done so;

https://developers.refinitiv.com/content/dam/devportal/en_us/product-docs/wc1-api/documentation/v2/schema-reference/wc1-api-schema-reference-documentation.html


Please feel free to reach out if you have any further questions.


Best regards,


Virgill

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.