Hi @Steven Painter,
GetValidContentFieldTypes is a GET request and there is no need for http body. For instance, to request valid fields for TIme and Sales, use the URL:
https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'TickHistoryTimeAndSales')
You still need to supply the Authorization header key just like all other TRTH requests.
Please take a look at the "REST API Tutorial 4: On Demand tick data extraction" in the TRTH REST Tutorial page
https://developers.thomsonreuters.com/thomson-reuters-tick-history-trth/thomson-reuters-tick-history-trth-rest-api/learning?content=11220&type=learning_material_item
It has detail instructions of getting valid content fields.
I’ve ensured my URL and headers are identical (except for the token) and I keep getting:
ValueError: _request failed: Response Error is 404
No HTTP resource was found that matches the request URI 'https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'TickHistoryTimeAndSales')'.
Am I perhaps not correctly permissioned?
@Steven Painter, I get the same error if I use an HTTP POST instead of an HTTP GET. Can you ensure you are using HTTP GET for this request ?
Doh! Thanks.