...
URL | http://<host>:<port>/ catissuecore/rest/ng/specimen-lists/{specimenListId} |
Method | PUT |
Content-Type | application/json |
Request | { "label":"Brain Cancer CP - C123 - S1SSCP - JC12", "sharedWith":[{"id":2},{"id":3}], "specimens":[{"id":12},{"id":13}] } |
Response | { "message": null, "exception": null, "erroneousFields": null, "specimenListDetails": { " "id": 49, "label": " Brain Cancer CP - C123 - S1SSCP - JC12", "owner": { "id": 1, "firstName": "current-user", "lastName": "current-user", "loginName": "currentuser@example.com" }, "sharedWith": [ { "id": 3, "firstName": "tech", "lastName": "tech", "loginName": "tech@tech.com" }, { "id": 2, "firstName": "super", "lastName": "super", "loginName": "super@super.com" } ], "specimens": [ { "id": 12, "label": " 2Frozen Specimen - SP12314" }, { "id": 13, "label": " 3Frozen Specimen - SP12315" } ] } } |
...
Error Cases
code | Applies to | Status Message |
---|---|---|
200 | All resources | Specimen-list has been updated successfully. |
400 | All requests | Invalid parameters, e.g duplicate Specimen-list label, Invalid User-ids, Invalid Specimen-ids. |
401 | All requests | Authorization failed, User doesn’t have Authority. |
500 | All requests | Internal server error, Encountered server error while performing operations. |