question

Upvotes
Accepted
5 1 2 5

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.

Hello @Shyamala.K,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

@Shyamala.K

Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS

Hello @Shyamala.K,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

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.

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.