For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
Hi,
Could you please confirm what is the API you are using? Is it TRTH or DSS REST API?
Regards,
AHS
Basically TREP API does not provide REST API to retreive Real-Time data therefore we assume that you might choosing wrong forum when you post the question. That why we would like to confirm API product you are using first.
DSS and TRTH API are different products, but it hosted on the same server and share the REST API for the user. If you are using either DataScope Select or Tick History product. you can find details about the API usage including the way to get token from the following links:
Thomson Reuters Tick History (TRTH)
DataScope Select (DSS)
@konstantin.pavlov,
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
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
@konstantin.pavlov, please be informed that a reply has been verified as correct in answering the question, and has been marked as such. Thanks, AHS
@konstantin.pavlov
You can request a token with an HTTP POST request to our Authentication/RequestToken endpoint. This is detailed in Chapter 4 of our REST API User Guide.
The request will contain your DSS credentials in JSON form. See example below.
HTTP Request:
POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Authentication/RequestToken
Headers:
Content-Type: application/json Prefer: respond-async
Request body:
{ "Credentials": { "Username": "Your Username", "Password": "Your Password" } }
If your credentials are correct, you will receive a 200 response with your authentication token in the value key.
HTTP/1.1 200 OK { "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Edm.String", "value": "iM3nRfyPWmrKF7RNjS7Hl2JGijKAt_lErD3LEhB6Ayn6CkMQ48aO8meIiij0L4SC1VNlZcRslGBntJT7AOl 34c1Xv4epjcw5E_OabHmYVtq-J3mz_X-BW2Y2zFsntwv31ngtLV6qVwGEs12fcXvSUZL9LSx5BUlD2RVsR4lU_47AdX7eXLRs dmKl22_U1I0CuvLGJg-vAOkeX-Iw4FBokye5kSqcq9-aIQeryjkP35Dn1lafR7hLNUACPx2kjwojLgTvJDPsX4WlCkQuJrOx3 4e9mLZ4fY1rk8iY2qMQKYE=" }
Due to an outage of the Thomson Reuters Developer Community email notification system from 2:30 PM CDT on November 29th until 9:00 AM CDT on November 30th we are posting to all questions updated during this timeframe in order to ensure all customers receive all relevant email updates. Please review this question, and its associated answers, in order to ensure you are aware of any possible updates that may have occurred during this outage. We apologize for the delay and any inconvenience this has caused.
Matthew Logterman, J.D.
Sr. Product Manager, Thomson Reuters Developer Community