Update a shipment's ship date
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/recon/shipments/{shipmentId}/ship-date
Updates a shipment's ship date. Rights: OrsInventoryPost and either OrsBlinded or OrsUnblinded.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
shipmentId(required): string(uuid)
ID of the shipment.
-
studyId(required): string(uuid)
ID of the study
Supported Media Types
- */*
Root Schema : schema
Type:
object
Request object containing shipment ship date.
Show Source
-
shipDate: string
Pattern:
(\d){4}-(\d){2}-(\d){2}
Ship date.Example:2019-06-17
-
shipmentId: string
ID of the shipment.Example:
8ECE2C9D389645B09740DC7926DEFB69
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
string(uuid)
400 Response
'Invalid ship date. It must be in YYYY-MM-DD format', 'Invalid shipment type', 'Invalid current shipment status'
Nested Schema : details
Type:
object
403 Response
'User doesn't have access to the site'
Nested Schema : details
Type:
object
404 Response
Shipment not found
Nested Schema : details
Type:
object
500 Response
Internal server error
Nested Schema : details
Type:
object