question

Upvotes
Accepted
262 8 9 15

Trying to get fields list of the ElektronTimeSeries using GET Action on TRTHV2 REST API

I have been trying to get fields list of the ElektronTimeSeries using GET Action with URL

https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplateTypes'ElektronTimeseries')
I am getting the following error.
{"error":{"code":"47358de6-8633-459b-ad30-b9fe3c552e1f","message":"The string 'ThomsonReuters.Dss.Api.Extractions.ReportTemplateTypes'ElektronTimeseries'' is not a valid enumeration type constant."}}


Could you please tell me how to resolve it ?

tick-history-rest-apirest-api
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
23k 22 9 14

@Beera.Rajesh,

Believe there is small discrepancy in the request type, it should be

"

https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'ElektronTimeseries')

"

For the description and the way to exercise, please refer to

REST API Tutorial 7

Or download Postman API Collection

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.

Thank you Zoya

Click below to post an Idea Post Idea