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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 1 1 0

Update instruments in instrumentlist not working via dss rest call

I am trying to update instrument item in instrumentList with InstrumentListItemKey but it always results in error saying not found, although with same id delete operation works as in example below.

I would like to understand what is going wrong in update operation, i know there is a way to delete instrument first and add it later but in this case i have to make two calls to dss server, that i need to avoid.
Using reference doc : API-TREE-Reference

ex:
PUT /Extractions/InstrumentListItems('VjF8MHgwNzczYmU2MzQ2Mzc0ODgzfDE ')
Response: "InstrumentListItem of id '0x0773be6346374883' not found"

Delete /Extractions/InstrumentListItems('VjF8MHgwNzczYmU2MzQ2Mzc0ODgzfDE ')
Response: "204 No content" -> successfully deleted above instrument from the list.


Please let me know in case of any query/question.

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

Upvote
Accepted
38.1k 71 35 53

@xds-support

I got the same issue.

If I add the "Order" field, it returns 204 No Content. However, the item wasn't updated.

I will contact the development team to verify the problem.

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.

Thanks, it worked for me with Order fields and i reviewed it via GUI. It would be easier to understand if explained by examples in reference documentation itself.

InstrumentListItems can be updated (UserDefined Identifier and Order only) and deleted.

Click below to post an Idea Post Idea