question

Upvotes
Accepted
1 2 2 4

Acces code is mandatory to make request by entityType 'RIC'?

Hi,

I want to retrieve data for search by RIC.It works if I make request in below format:

GET https://api.thomsonreuters.com/permid/search?q=TRI&access-token=<token>;

This needs access-token as well. Access-tokens are mandatory to retrieve results ?

Regards,

Priyanka

ricspermid-api
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.

@priyanka.srivastava
Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS

@priyanka.srivastava

Hello again!

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

@priyanka.srivastava

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.1k 250 52 74

@priyanka.srivastava

To use the API, access-token is mandatory. It is an unique access token allocated to a registered user.

If you don't specify access-token in the request, you will get the 401 Unauthorized error with this text in the body.

{
    "fault": {
        "faultstring": "Failed to resolve API Key variable request.header.X-AG-Access-Token",
        "detail": {
            "errorcode": "steps.oauth.v2.FailedToResolveAPIKey"
        }
    }
}

The access token can be passed as:

  • The access-token URL parameter: access-token=<token>
  • The x-ag-access-token HTTP header: x-ag-access-token: <token>
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.