Client:
I was trying to use ticker in the instrument list for EndOfDayPricingExtractionRequest because I was using the api reference tree and saw Ticker as one of the Identifier Types in the Instrument Identifier List. Can you let me know if this documentation is outdated?
This is what I have for querying by ticker and source:
{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.EndOfDayPricingExtractionRequest",
"ContentFieldNames": [
"RIC",
"Security Description",
"Ticker",
"Trading Status",
"Trading Symbol",
"Underlying RIC",
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{'Identifier': 'AAPL', 'IdentifierType': 'Ticker', 'Source': 'NSM'},
{'Identifier': 'IBM', 'IdentifierType': 'Ticker', 'Source': 'NSM'}
]
},
"Condition": None
}
}
However, I keep getting this error:
{'@odata.context': 'https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionResult', 'Contents': [{'IdentifierType': 'Ticker', 'Identifier': 'AAPL', 'Error': 'Not found'}, {'IdentifierType': 'Ticker', 'Identifier': 'IBM', 'Error': 'Not found'}], 'Notes': ['All identifiers were invalid. No extraction performed.']}