Summary
This page contains documentation of update shipment REST API.You can use http[s]:<host>:<port>/catissuecore/rest/ng/shipments/{label} url to update shipment.
Request Details
Parameter | Details |
---|---|
label | Displays label for shipment. Label must be unique. |
barcode | Barcode of shipment. Barcode must be unique. |
specimenListIdentifier | Identifier of specimen list which is shipping. |
senderSite | Sender site name. |
receiverSite | Receiver site name. |
senderContactPerson | Sender's user name |
receiverContactPerson | Receivers user name |
sendDate | Date of shipping |
courierName | Courier name of which shipping sent. |
courierTrackingId | Courier tracking identifier for a shipment. |
courierTrackingUrl | Courier Tracking url. |
activityStatus | Activity status of shipment. Permissible values are {In Progress, Received, Rejected } |
Response :
Response of this event contains details of updated shipment.
Example :
URL | http://<host>:<port>/ catissuecore/rest/ng/shipments/{label} |
Method | PUT |
Content-Type | application/json |
Request | { |
Response |
|
Error Cases
code | Applies to | Status Message |
---|---|---|
200 | All resources | Shipment has been deleted successfully. |
400 | All requests | Invalid parameters, e.g Invalid Users, Invalid Specimen-List id, Null or empty label, barcode. |
401 | All requests | Authorization failed, User doesn’t have Authority. |
500 | All requests | Internal server error, Encountered server error while performing operations. |