How to extract instruments from instrument list using REST API endpoint mentioned here API tree (...

How to extract instruments from instrument list using REST API endpoint mentioned here API tree (https://hosted.datascopeapi.reuters.com/RestApi.Help/Context/Operation?ctx=Extractions&ent=InstrumentListItem&opn=GetAll)

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @xds-support,

    To extract all instruments from InstrumentList by list name, please use the two-step approach described in detail in this thread.

    Does it work for you, do you run into an issue?

    Alternatively, you can obtain the listId via itemId:

    {{protocol}}{{host}}{{api}}Extractions/InstrumentListItems('itemId')/InstrumentList 

    and then do the same step two as discussed in thread

    {{protocol}}{{host}}{{api}}Extractions/InstrumentLists('{{listId}}')/ThomsonReuters.Dss.Api.Extractions.InstrumentListGetAllInstruments 

    Is this what you are looking to do?