Update Source of Instrument List Item

cabissi
cabissi Newcomer

Hello,

I have an existing item in instrument list like this:

1627837592721.png

This item's InstrumentListItemKey is "VjF8MHgwN2E3M2U3NmFkOWNmZDI5fDIzMDc3".

When I use PUT "https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/InstrumentListItems('VjF8MHgwN2E3M2U3NmFkOWNmZDI5fDIzMDc3')" with Json body:

{
    "Identifier": "6099626",
    "IdentifierType": "Sedol",
    "Source": "BSE",
    "UserDefinedIdentifier": "504157",
    "UserDefinedIdentifier2": "",
    "Order": 23077,
    "InstrumentListItemKey": "VjF8MHgwN2E3M2U3NmFkOWNmZDI5fDIzMDc3"
}

The call returns without error but the Source remains unchanged.

Is this the correct way to change Source of an existing item in the instrument list?

Thanks!

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @cabissi

    Refer to the DSS REST API Reference Tree, InstrumentListItems can be updated (UserDefined Identifier and Order only) and deleted. Therefore, you can use it to update the UserDefined Identifiers.

    In this case, you can delete it and then append a new instrument into the list.




Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.