question

Upvotes
Accepted
262 12 15 19

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 41 11 20

@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 512.0 KiB each and 1.0 MiB total.

Thank you Zoya

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.