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.

1 Answer

· Write an Answer
Upvotes
Accepted
83.1k 281 53 77

@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.