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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 1 1

Download field names which is accessible via DSS API

Download list of field names which is accessible via DSS API.

I need to request the field in below format, so the field name should be compatible with the request type

1680699564077.png


#technologyfields
1680699564077.png (176.1 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.

Hi @zia ,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hi @zia,

You can get a list of valid field types for the ReportTemplate that you are trying to extract. For PriceHistory this would be a HTTP-GET request to:

GET https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'PriceHistory')

and the response JSON is the list of all the fields:

{
  "@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#ContentFieldTypes",
  "value": [{
      "Code": "ET2.30-Day Implied Volatility - Call",
      "Name": "30-Day Implied Volatility - Call",
      "Description": "Volatility implied by the market price of a call option contract based on a theoretical pricing model on a 30 days period.",
      "FormatType": "Number",
      "FieldGroup": " "
    }, {
      "Code": "ET2.30-Day Implied Volatility - Put",
      "Name": "30-Day Implied Volatility - Put",
      "Description": "Volatility implied by the market price of a put option contract based on a theoretical pricing model on a 30 days period.",
      "FormatType": "Number",
      "FieldGroup": " "
    }, {
      "Code": "ET2.60-Day Implied Volatility - Call",
      "Name": "60-Day Implied Volatility - Call",
      "Description": "Volatility implied by the market price of a call option contract based on a theoretical pricing model on a 60 days period.",
      "FormatType": "Number",
      "FieldGroup": " "
    }, {
      "Code": "ET2.60-Day Implied Volatility - Put",
      "Name": "60-Day Implied Volatility - Put",
      "Description": "Volatility implied by the market price of a put option contract based on a theoretical pricing model on a 60 days period.",
      "FormatType": "Number",
      "FieldGroup": " "
    },
...


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.