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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 4 2

Requests: Single Price History and Price History

Hi,

We have a question about the changes in templates coming in February 2020.

Currently we are using these GETs to request information from several Templates that are: “Timeseries Pricing and Single Historical Price” format and we need to change it to Single Price History and Price History, and we need to migrate that from API SOAP to REST API.


This migration will have impact on these POST/GET requests?

We need to update them, or just create new templates with the new format (Single Price History and Price History) and name them like than the old ones?


We are doing these requests to the API.


- POST - https://hosted.datascopeapi.reuters.com/RestApi/v1/Authentication/RequestToken

- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/InstrumentListGetByName(ListName='XXXXXX')

- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/InstrumentLists('XXXXXXX)/ThomsonReuters.Dss.Api.Extractions.InstrumentListGetAllInstruments

- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ReportTemplateGetByName(Name='XXXXXX')

- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ReportTemplates('XXXXXXX')

- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotesResult(ExtractionId='XXXXXXXX')

- POST - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes

dss-rest-apidatascope-selectdsspricingmigrationprice-history
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
11.3k 25 8 13

@elisa.perez,

According to the list of requests you are using, both extraction types are used.

  • Schedule extraction - It seems that your application uses existing Report Templates created in DSS to extract data. You can create new Report Templates with the old names using Single Price History and Price History template.
- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ReportTemplateGetByName(Name='XXXXXX')
- GET - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ReportTemplates('XXXXXXX')
  • On Demand extraction - You need to change the request body to use the new Report templates and fields.
- POST - https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes

As part of the migration process, it is important to understand that, in some instances, field content extracted from the Timeseries Pricing and Single Historical Price reports will be available under different field names in the Price History and Single Price History reports. Please find more details on the migration and the required client action in this Product Change Notifications

icon clock
10 |1500

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

Click below to post an Idea Post Idea