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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 1 3

Get available field list for End of Day - HTTP response

Referring to the “Get available field list for End of Day - HTTP response” part of this tutorial. The call doesn’t return “Maturity Date” although data for that field is returned when added to “Get End of Day data - HTTP request”

Get available field list for End of Day - HTTP request

If you do not know what field lists are available, you can request a list of those available.

The report template type must be specified in the path. As we want End of Day data we set a value of EndOfDayPricing. The following tutorials show other possibilities.

dss-rest-apidatascope-selectdssrest-apifields
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
18.2k 21 13 21

@mushtaq.nathani

You can try tutorial 2a on Postman. Please download from this URL.

Here is the sample request(captured from Fiddler 4) :

GET https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes%27EndOfDayPricing%27) HTTP/1.1
Prefer: respond-async
Content-Type: application/json
Authorization: Token <your token>
cache-control: no-cache
Postman-Token: 59c69bd1-f65c-4d24-866c-6a61d8de7845
User-Agent: PostmanRuntime/7.1.1
Accept: */*
Host: hosted.datascopeapi.reuters.com
cookie: DSSAPI-COOKIE=R3148268809
accept-encoding: gzip, deflate
Connection: close

The result includes "EOD.Maturity Date" field.


dsscapture.png (85.7 KiB)
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 3

@chavalit.jintamalit

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.

@chavalit.jintamalit

Hi,

Can you pls explain the issue with previous quoted example. So that I can explain to client in context of the issue between two codes

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.