I want to verify the instruments for particular day before placing the extraction request through API. i can see the option is avalible in GUI. Is there any way to do it in API ?
I want to verify the instruments for particular day before placing the extraction request through API. i can see the option is avalible in GUI. Is there any way to do it in API ?
@samara, iIf your purpose is just to validate that the instruments exist you could use the following API call:
Method: POST
Body:
{ "InputsForValidation": [ { "Identifier": "CARR.PA", "IdentifierType": "Ric" }, { "Identifier": "EUR=", "IdentifierType": "Ric" } ], "Options": { "AllowDuplicateInstruments": false, "AllowHistoricalInstruments": true, "AllowInactiveInstruments": true, "AllowOpenAccessInstruments": false, "AllowUnsupportedInstruments": false, "ExcludeFinrAsPricingSourceForBonds": false, "UseConsolidatedQuoteSourceForCanada": false, "UseConsolidatedQuoteSourceForUsa": false, "UseDebtOverEquity": false, "UseExchangeCodeInsteadOfLipper": false, "UseUsQuoteInsteadOfCanadian": false } }
If you want to validate historical and inactive instruments ensure you set these 2 parameters true:
"AllowHistoricalInstruments": true, "AllowInactiveInstruments": true,