Update a Qurantine shipment and its kits
post
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/shipments/{shipmentId}/receive-quarantined
Update a Qurantine shipment and its kits. Rights: DepotQuarantinePost.
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
- application/json
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : QuarantinedToRecievedResponse
Type:
object
Contains count of updated inventories
Show Source
-
availableCount: integer
(int64)
cout of kits marked as available in the shipmentExample:
10
-
damagedCount: integer
(int64)
cout of kits marked as damaged in the shipmentExample:
10
-
receivedDate: string
(date-time)
Recieved date of shipment
400 Response
'Invalid Kit', 'Invalid shipment status'
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object
404 Response
'Invalid study ID', 'Study still in design phase' or 'Invalid shipment ID'
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object
500 Response
Internal server error
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object