I'm requesting the API according to this Doccument.
https://developers.refinitiv.com/thomson-reuters-tick-history-trth/thomson-reuters-tick-history-trth-rest-api/learning?content=11307&type=learning_material_item
But there is no JobId that should be included in the body when the status is 200. (Check request status - HTTP response)
Instead, the tick history data by the name 'Contents' was returned.
It is the same when making a request to 'Location' of 202 status header.
Why is there no JobId?
I have obtained the necessary data, but please let me know because I am interested.
url = 'https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes';
request_headers = {
"Prefer": "respond-async",
"Content-Type": "application/json",
"Authorization": "token " + token
}
body = {
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions"
".ExtractionRequests."
"ElektronTimeseriesExtractionRequest",
"ContentFieldNames": [
"Trade Date", "Open", "High", "Low",
"Last", "Ask", "Bid", "Volume"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions."
"ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": instrumentIdentifiersList,
"UseUserPreferencesForValidationOptions": "false"
},
"Condition": {
"StartDate": START_DATE,
"EndDate": END_DATE
}
}
}