I'm using python request module in a jupyter notebook to try and download intraday summaries. I've copied the sample request from the rest API doc, but I'm just receiving a 404 error. I am able to download other reports successfully, so I don't think there is a problem with the authentication token.
body:
{ "ExtractionRequest": { "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TickHistoryIntradaySummariesExtractionRequest", "ContentFieldNames": [ "Close Ask", "Close Bid" ], "IdentifierList": { "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [ { "Identifier": "EUR=", "IdentifierType": "Ric" } ], "ValidationOptions": null, "UseUserPreferencesForValidationOptions": false }, "Condition": { "MessageTimeStampIn": "GmtUtc", "ApplyLegacySummaryTimeLabel": false, "ReportDateRangeType": "Range", "QueryStartDate": "2008-10-13T13:00:00:000-05:00", "QueryEndDate": "2008-10-13T14:00:00.000-05:00", "SummaryInterval": "OneMinute", "TimebarPersistence": true, "DisplaySourceRIC": true } } }
request headers (token excluded):
{'Content-Type': 'application/json', 'Prefer': 'respond-async', 'Accept-Charset': 'UTF-8', 'Authorization': 'token ***'}