Hi,
I wonder if it is possible to get the output of a scheduled report in json format?
I'm using the .Net SDK kit provided by Thomson Reuters to get the latest files for a specific schedule.
Thanks in advance.
For a deeper look into our DataScope Select SOAP API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
Hi,
I wonder if it is possible to get the output of a scheduled report in json format?
I'm using the .Net SDK kit provided by Thomson Reuters to get the latest files for a specific schedule.
Thanks in advance.
Hi,
You can data back in JSON format via an On Demand request, eg. for End of Day request
POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes HTTP/1.1 Authorization: Token <your_auth_token_goes_here> Prefer: respond-async Content-Type: application/json; odata=minimalmetadata { "ExtractionRequest": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.EndOfDayPricingExtractionRequest", "ContentFieldNames": [ "Asset Status", "Asset Type", "Bid Price", "Currency Code", "CUSIP", "File Code", "Ask Price", "High Price", "Low Price", "Mid Price", "Volume", "Net Asset Value", "Offer Price", "Official Close Price", "Open Price", "Previous Close Price", "RIC", "Security Description", "SEDOL", "Ticker", "Trade Date" ], "IdentifierList": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [ { "Identifier": "191216100", "IdentifierType": "Cusip" }, { "Identifier": "2005973", "IdentifierType": "Sedol" }, { "Identifier": "AAPL.OQ", "IdentifierType": "Ric" } ], "ValidationOptions": null, "UseUserPreferencesForValidationOptions": false }, "Condition": null } }
Hi @perl
For Schedule extraction, supported output formats are CSV, XML, and Delimited only. As Gareth suggested, you can use On Demand extraction to get output in JSON format.
For more information about difference between these extraction types, please see this tutorial.