Remove both serialized and non serialized kits from an order shipment
post
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/shipments/{shipmentId}/removeKits
Removes both serialized and non serialized kits from an order shipment. Rights: OrsInventoryDelete, 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 serialized and non serialized kits to be removed from shipment.
Show Source
-
kits: array
kits
Contains kits Ids.
-
nsKits: array
nsKits
Contains kits Ids.
-
shipmentId: string
(uuid)
ID of the shipment.
Nested Schema : nsKits
Type:
array
Contains kits Ids.
Show Source
-
Array of:
object ShipmentRemoveNonSerializedKitRequest
Request object containing non serialized kits to be removed from shipment.
Nested Schema : ShipmentRemoveNonSerializedKitRequest
Type:
object
Request object containing non serialized kits to be removed from shipment.
Show Source
-
kitTypeSrcId: string
(uuid)
ID OF THE KIT
-
lotId: string
(uuid)
Lot ID
-
quantity(required): number
(BigDecimal)
Minimum Value:
1
Quantity of kitsExample:56
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
string(uuid)
400 Response
'Invalid Kit', 'Invalid shipment status'
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
404 Response
'Invalid study ID', 'Study still in design phase' or 'Invalid shipment ID'
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
500 Response
Internal server error
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object