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
For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
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
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
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": " " }, ...