question

Upvotes
Accepted
23 0 0 2

GetValidContentFieldTypes not working for TickHistoryRaw on postman

I ma able to acquire token and using that token doing GET request https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'TickHistoryRaw')

it retrurns 200 OK with emppty results


{

"@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#ContentFieldTypes",

"value": []

}

it works for other template types. Could you pls advise

#technologytick-history-rest-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.

Upvotes
Accepted
24.3k 62 15 21

Ok, I think you are a DSS customer and don't have access to TickHistory product. I would recommend that you reach out to your account manager to confirm.

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.

Upvotes
24.3k 62 15 21

Hello @bhawana.aggarwal,

Its working for me without any issues. Please download the latest TickHistory Postman collection from the portal and try again.


1721224292690.png



1721224292690.png (97.9 KiB)
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.

Upvotes
23 0 0 2

1721294231548.png

with collection also I am getting the same result. BTW I just noticed 4a in your screenshot is list of fileds for Tick whereas for me it was for time series. Not sure why thereis a difference


1721294231548.png (73.2 KiB)
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.

It should not matter - I used the TickHistory collection, whereas you are using the DSS Postman collection. The endpoint URL for content field names is same across both.

You can also capture the raw request and response using Postman or other proxy and compare. If you have cURL installed try running this command in a console:

curl --location --request GET "https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'TickHistoryRaw')" --header "Prefer: respond-async" --header "Content-Type: application/json" --header "Authorization: Token ---YOUR DSS TOKEN---"
Upvotes
23 0 0 2

1721309550360.png

same result


1721309550360.png (7.3 KiB)
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.

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.