For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 1 1 4

Update Source of Instrument List Item

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!

dss-rest-apidatascope-selectdss
1627837592721.png (12.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @cabissi ,

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 appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@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.




icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.