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 ?
Hello @samara,
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
@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,