question

Upvotes
Accepted
1 1 0 3

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea