Summary
This page contains documentation for deleting Shipment.
Request Details
Parameter | Details |
---|---|
label | label of shipment which is unique attribute. |
Result
Response will contain details of deleted shipment
URL | http://<host>:<port>/ catissuecore/rest/ng/shipments/{label} |
Method | DELETE |
Content-Type | application/json |
Response | { "id" : 1, "label" : "Sh", "barcode" : "11111", "specimenListIdentifier" : 1, "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. |