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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 1 0 0

Any way to update multiple items within one instrument list in one DSS REST API call?

When I have multiple items within one instrument list which need to be updated with their new User Defined Identifiers, I am able to do it with a PUT request (https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/InstrumentListItems('VjF8MHgwNzZjMDY2NDZkZTczNTExfDE') but have to loop through my item list and send the request one at a time. Is there a way to batch them up and send just one request to get them all updated?

Thanks!

dss-rest-apidatascope-selectdss
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
23k 22 9 14

Hello @cabissi,

Perhaps:

POST /Extractions/InstrumentLists({id})/ThomsonReuters.Dss.Api.Extractions.InstrumentListReplaceAllWithIdentifiers 

can be of help, described in REST API Reference Tree in detail.

Or, if you are not looking to replace all, you can

POST /Extractions/InstrumentLists({id})/ThomsonReuters.Dss.Api.Extractions.InstrumentListDeleteItemsById 

and then

POST /Extractions/InstrumentLists({id})/ThomsonReuters.Dss.Api.Extractions.InstrumentListAppendIdentifiers 



icon clock
10 |1500

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

Click below to post an Idea Post Idea