Every time I send an on demand extraction request, I get a 404 response. Any help would be appreciated. Thank you.
I've formatted the request as below:
method:
POST
URL:
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes
header
{ 'Authorization': u'Token <token>', 'Content-Type': 'application/json', 'Prefer': 'respond-async' }
content
{ '@data.type': '#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.CompositeExtractionRequest', 'ContentFieldNames': [ 'RIC', 'CUSIP'], 'IdentifierList': { '@data.type': 'ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList', 'InstrumentIdentifiers': [ { 'Identifier': 'IBM.N', 'IdentifierType': 'Ric' }, { 'Identifier': 'AAPL.O', 'IdentifierType': 'Ric' } ], 'UseUserPreferencesForValidationOptions': 'false', 'ValidationOptions': 'null'} }