Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary 

...

http[s]:<host>:<port>/

...

openspecimen/rest/ng/

...

sites

Use this resource to create shipment in the openSpecimen application. Use HTTP POST method to call this API by passing the below details in JSON format. 

Below are the attributes which need to be sent in the request body:

 

Request Details

senderSite
ParameterDetails
labelDisplays label for shipment. Label must be unique.

barcode

Barcode of shipment. Barcode must be unique.
specimenListIdentifierIdentifier of specimen list which is shipping.
nameName of the shipment
courierName
Courier name of which shipping sent
trackingNumber
Courier tracking number for a shipment.
trackingUrl
Courier tracking URL
sendingSite
Sender site name.
receiverSite
receivingSite
Receiver site name.
senderContactPersonSender's user name
receiverContactPersonReceivers user name
sendDate
notifyUsers
Collection of users to be notified
shippedDate
 Date of shipping
courierNameCourier name of which shipping sent.
courierTrackingIdCourier tracking identifier for a shipment.
courierTrackingUrlCourier Tracking url.
activityStatus
senderComments
Sender comments
status
Activity status of shipment. Permissible values are {In ProgressPending, Shipped, Received , Rejected }}
sender
 Sender of the shipment
shipmentItem
Collection of specimens

Response :

Response of this event contains details of newly created shipment.

...