Hi ,
We are POSTing the following request for DSS API.
- We are requesting every 5 minutes.
- We waiting for a minute before we timeout the request.
- About 15 times a day it takes more then a minute (and then I fail the request).
-- Is it ok and normal that sometimes it takes more then a minute ?
-- Am i doing something wrong ?
-- Should i increase the timeout ?
Here is the request :
curl -X POST \
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes \
-H 'Authorization: Token XXXXXXXXXXXXX’ \
-H 'Content-Type: application/json' \
-d '{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest",
"ContentFieldNames": [
"RIC", "Mid Price", "Security Description", "Instrument ID", "Instrument ID Type"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{ "Identifier": "EUR=", "IdentifierType": "Ric" },
{ "Identifier": "CNYUSD=R", "IdentifierType": "Ric" },
{ "Identifier": "JPYUSD=R", "IdentifierType": "Ric" },
{ "Identifier": "GBP=", "IdentifierType": "Ric" }
]
},
"Condition": { "ScalableCurrency": "true" }
}
}'