For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 1 1

Does DSS API supports instrument-less extractions?

Please can you confirm if DSS API supports instrument-less extractions and is there any API limitations? Thanks

dss-rest-apidatascope-selectdssdss-gui
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
13.7k 26 8 12

@Luis.Amaral:

  • The REST API uses JSON, not XML. The Postman code I posted earlier here is JSON.
  • Extraction limits are documented here. That page documents them in terms of instruments versus days. I don't know how that would apply to an instrument-less query though.
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
13.7k 26 8 12

@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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 0 1 1

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@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 ?

Upvotes
3 0 1 1

Thanks @Christiaan Meihsl. Using REST API

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
13.7k 26 8 12

@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.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 0 1 1

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?

Thanks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.