Please can you confirm if DSS API supports instrument-less extractions and is there any API limitations? Thanks
@Luis.Amaral:
@Luis.Amaral, what exactly do you mean by "instrument-less", can you give some details as to what you are trying to achieve ?
If you mean "by venue", then look at TRTH, it has VBD (Venue by Day) extractions, that deliver data for all instruments in a venue (exchange) for a single day. VBD is explained in this tutorial.
thanks @Christiaan Meihsl for replying. We are currently using RICs identifiers to extract news articles related but not getting the results we expected when compared with TRTHv1. We were advised not to use instrument list but rather instrument less extraction. However I could not see much information on documentation related to this. Is this supported?
Thanks
@Luis.Amaral, ah ok, it is for news articles, that clarifies things. Let me check if and how this works. Are you using the SOAP or REST API ?
Thanks @Christiaan Meihsl. Using REST API
@Luis.Amaral, yes, you can create an "instrument-less" schedule, if (and only if) the report template is a News Items template. You can do this in the GUI or in the API.
In the GUI:
Using the REST API:
Here is a very simple example in Postman:
POST to URL https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/Schedules
Body:
{ "Name": "myImmediateSchedule", "Recurrence": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.SingleRecurrence", "IsImmediate": true }, "Trigger": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.ImmediateTrigger", "LimitReportToTodaysData": true }, "ReportTemplateId": "0x05775524e06b3026"}
Usually the command to create a schedule contains a "ListId" and a "ReportTemplateId" parameter. But this code does not include the parameter: "ListId": "0x0609b87d538b3036"
If you used the same body but referred to a Report Template that was not a News Items template, an error would be generated.
Hope this helps.
Many thanks @Christiaan Meihsl this is very useful. Some additional questions are:
Can our request be made in Json format (instead of xml)?
Is there any API limitation for this extraction method?