Hi ,
my use-case is to extract FX rates for some currencies.
i am using the Rest-Api for /Extractions/Extract
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest"
and with field "Mid Price" .
can you please advice to me regarding the following questions :
1) should I ask for authorization token each time ? How can I know the token expiration ?
2) should i use /ExtractWithNotes ?
Thank you , Roy.
1) An authorization token is valid 24 hours. It is more efficient to request it once and then reuse it, until it expires, at which point you can re-request one. See this help page for more information.
2) Yes you should use ExtractWithNotes, because Extract is deprecated. It still works, but will be removed in the second half of 2019, as per this advisory. I also recommend you save and analyse all extraction notes, they contain useful information, warnings and errors.
Fx Rates Using DSS 1 Answer
Get content for a specific date (or date range) 1 Answer
TickHistoryTimeAndSalesExtractionRequest - Getting last price nearest to a date 1 Answer
I'm getting more rows that requested on bond ratings request over DSS REST API 6 Answers
DSS REST API python sample of user preferences change 4 Answers