Can I specify the list of instrument list in the DSS GUI through the API? Or can I refer to instrument list on csv via API?
@aya.nakamura
Thank you for reaching out to us.
You can specify an intrument list avaialble in the DSS GUI in the on-demand request by using the "IdentifierList" property, as shown below.
{ "ExtractionRequest": { "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest", "ContentFieldNames": [ "RIC", "Ask Price", "Asset Type", "Bid Price", "Currency Code", "Exchange Code", "High Price", "Volume" ], "IdentifierList": { "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentListIdentifierList", "InstrumentListId": "0x086871bcaec8a53d" }, "Condition": { "ScalableCurrency": true } } }
It contains the InstrumentListId which is the ID of the instrument.
You can also get the ID by the list's name via the API by using the following endpoint.
https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/InstrumentListGetByName(ListName='<ListName>')
For more information, please refer to the REST API Reference Tree.