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.

Best Answer

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

Answers

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