Are there any way to read the description of each template via API? There are description on Data Content Guide of DSS but if there are any place to get this description via API, pleaes adivse.
@aya.nakamura
Thank you for reaching out to us.
You can get the content fields available in the report template by using the HTTP GET method with the following endpoint.
https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'IntradayPricing')
The above URL gets the content fields in the IntradayPricing teamplate.
The output will look like this:
For more information, please refer to the REST API Reference Tree and REST API Tutorials.
Hi @Jirapongse Thank you so much for your prompt reply! Is there any way to get the description of each template via API?
What do you mean by the description of each template? Please provide the sample description.
I am not sure what it is.
If you have a created report template on DSS Web UI, you can access its description by its ID.
GET https://selectapi.datascope.refinitiv.com/RestApi/v1//Extractions/ReportTemplates('0x093d02bfd64ac619')
The output looks like this:
Hi Jirapongse
Understood. Thank you very much.
Regards
Aya