Summary
This page contains documentation for deleting Shipment.
Request Details
Parameter | Details |
---|---|
shipmentId | Identifier of shipment |
Result
Response will contain details of deleted shipment
URL | http://<host>:<port>/ catissuecore/rest/ng/shipments/{id} |
Method | DELETE |
Content-Type | application/json |
Response | { "id" : 1, "label" : "Brain Cancer Specimen Lists", "barcode" : "11111", "specimenListDetails" : { "id": 12, "label": "Frozen Specimen - SP12314" }, { "id": 13, "label": "Frozen Specimen - SP12315" } , "senderSite" : "Site A", "receiverSite" : "Site B", "senderContactPerson" : "siteA.admin@admin.com", "receiverContactPerson" : "siteB.admin@admin.com" "senderComments" : "comments", "sendDate" : "2014-01-01", "courierName" : "xyz", "courierTrackingId" : "CT123", "courierTrackingUrl" : "xyz.com" } |
Error Cases
code | Applies to | Status Message |
---|---|---|
200 | All resources | Shipment has been updated successfully. |
400 | All requests | Invalid parameters, e.g Invalid shipment id. |
401 | All requests | Authorization failed, User doesn’t have Authority. |
500 | All requests | Internal server error, Encountered server error while performing operations. |