question

Upvotes
Accepted
20 2 3 7

Tick History - Criteria Search - Pull all RICs starting with 0#

Hello,


I am trying to extract all Chains for given exchange using criteria search but keep getting error.

What am i missing in the code?


Request:

https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/HistoricalCriteriaSearch HTTP/1.1?Prefer=respond-async&Content-Type=application/json

{

"Request": {

"RicPattern": "^0#",

"ExchangeCodes": 31,

"Range": {

"Start": "2024-09-30T00:00:00.000Z",

"End": "2024-10-01T00:00:00.000Z"

}

}

}


Response:

{"error":{"code":"465beace-a31d-4973-a517-f159512cd8b5","message":"Resource not found for the segment

tick-history-rest-apisearch
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
87k 294 53 79

@Asif Khan

Thank you for reaching out to us.

I can run it properly in Postman.

The request message is:

{
    "Request": {
        "RicPattern": "^0\\#",
        "ExchangeCodes": ["31"],
        "Range": {
            "Start": "2024-09-30T00:00:00.000Z",
            "End": "2024-10-01T00:00:00.000Z"
        }
    }
}

1727765502404.png

You can test it with Postman. You can download LSEG Tick History REST Tutorials Postman collection from the LSEG developer portal.


1727765502404.png (58.8 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.