question

Upvotes
Accepted
5 1 1 4

how I tick data for an expired ric via TRTH API v2 in java. I attached my request message and server response.

expired-ric.txt

tick-history-rest-api
expired-ric.txt (1.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.

1 Answer

Upvotes
Accepted
29k 32 11 15

Hello @Shyamala.K,

ValidationOptions is the way

In Java:

.put ("IdentifierList", new JSONOrderedObject()  

.put ("@odata.type", "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList")

.put ("InstrumentIdentifiers", jaRICs)

.put("ValidationOptions", new JSONOrderedObject()

.put("AllowHistoricalInstruments", true)  )

.put("UseUserPreferencesForValidationOptions", false)

which should result in request:

"IdentifierList": {  

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",  

"InstrumentIdentifiers": [  

{  

"Identifier": "YOUR_RIC",  

"IdentifierType": "Ric"  

}  

],  

"ValidationOptions": {  

"AllowHistoricalInstruments": true  

},  

"UseUserPreferencesForValidationOptions": false  },

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.