Update kit attributes from depot inventory by depot ID
put
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/depots/{depotId}/inventory/kits
Updates kit attributes from depot inventory by depot ID, for both serialized and non serialized kits. Rights: OrsInventoryPost and OrsUnblinded.
Request
Path Parameters
-
depotId(required): string(uuid)
ID of the depot
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
studyId(required): string(uuid)
ID of the study
Supported Media Types
- application/json
Root Schema : UpdateDepotKitsRequest v2.0
Type:
object
Title:
UpdateDepotKitsRequest v2.0
Request object to update status of serialized & non serialized kits
Show Source
-
inventoryStatusId(required): number
(Integer)
Allowed Values:
[ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ]
Unique ID corresponding to each inventory status value (1 for Available, 2 for Damaged, 3 for Destroyed, 4 for Dispensed, 5 for Expired, 6 for Not in Use, 7 for Misallocated, 8 for Missing, 9 for In Transit, 10 for Quarantined, 11 for Pre-quarantined, 12 for Pending Destruction, 13 for Lost by Subject, 14 for Temporarily Unavailable, 15 for Damaged by Subject, 16 for New, 17 for Not Dispensed to Subject, 18 for Returned to Site, 19 for Conserved, 20 for Received for Destruction).Example:10
-
kitFilters: object
DepotKitFiltersRequest
-
kits: array
kits
Title:
kits
Kit id. -
kitsFilter: object
kitsFilter
Kit filter request
-
partialUpdate: boolean
if single record is getting updatedExample:
false
-
quantity(required): number
Minimum Value:
1
Quantity of kits in a lotExample:15
-
reason: string
Minimum Length:
0
Maximum Length:255
Reason of updateExample:new kits are available
Nested Schema : DepotKitFiltersRequest
Type:
Show Source
object
-
blindedLotId: string
(uuid)
blindedLotId
-
inventoryStatusIds: array
inventoryStatusIds
Title:
inventoryStatusIds
inventoryStatusIds -
kitNumberMax: number
kitNumberMaxExample:
1
-
kitNumberMin: number
kitNumberMinExample:
1
-
quarantineId: string
quarantineIdExample:
0000000000001
-
SearchString: number
SearchStringExample:
1
-
sequenceNumberMax: number
sequenceNumberMaxExample:
1
-
sequenceNumberMin: number
sequenceNumberMinExample:
1
-
serialized: boolean
flag for serialized kitsExample:
true
-
shipmentNumber: string
shipmentNumberExample:
Shipment1
Nested Schema : kitsFilter
Type:
object
Kit filter request
Show Source
-
blindedLotId: string
(uuid)
blindedLotId
-
inventoryStatusIds: array
inventoryStatusIds
Title:
inventoryStatusIds
inventoryStatusIds -
kitNumberMax: number
kitNumberMaxExample:
1
-
kitNumberMin: number
kitNumberMinExample:
1
-
quarantineId: string
quarantineIdExample:
0000000000001
-
SearchString: number
SearchStringExample:
1
-
sequenceNumberMax: number
sequenceNumberMaxExample:
1
-
sequenceNumberMin: number
sequenceNumberMinExample:
1
-
serialized: boolean
flag for serialized kitsExample:
true
-
shipmentNumber: string
shipmentNumberExample:
Shipment1
Nested Schema : inventoryStatusIds
Type:
array
Title:
inventoryStatusIds
inventoryStatusIds
Show Source
Nested Schema : inventoryStatusIds
Type:
array
Title:
inventoryStatusIds
inventoryStatusIds
Show Source
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : UpdateDepotKitsResponse v1.0
Type:
object
Title:
UpdateDepotKitsResponse v1.0
Response object of update kit
Show Source
-
tempExcursionNumber: string
tempExcursionNumberExample:
0000000000001
-
transactionId: string
(uuid)
transactionId
400 Response
Specify at least one kit attribute OR Reason is required OR Specify at least one filter. OR Either kits or kitFilters is required OR Invalid kit status OR Invalid kit range filter OR Invalid lot OR Invalid label group in kit filters OR Invalid kit type OR Invalid location OR No kits to update OR Update kits retrieved size exceeds maximum rows for update limit OR Invalid inventory status transition
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 or version
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