Update kit manufactoring lot
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/inventory/kits/manufacturing-lot
Updates the kit's manfactoring lot. Rights: OrsInventoryGet and OrsUnblinded.
Request
Path Parameters
-
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 : schema
Type:
Show Source
object
-
inventoryStatusId: integer
(int32)
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
-
itemNumber: string
Item NumberdExample:
30100000200000000000000000000005
-
kitFilters: object
KitFiltersRequest
Kit filter request
-
kits: array
kits
Title:
kits
Kit id. -
labelGroupId: string
Label group idExample:
30100000200000000000000000000005
-
location: string
LocationExample:
30100000200000000000000000000005
-
manufacturingLotId: string
Manufactoring lot idExample:
30100000200000000000000000000005
-
materialId: string
Material idExample:
30100000200000000000000000000005
-
reason: string
Minimum Length:
0
Maximum Length:255
Reason of updateExample:kit damaged by subject
-
updateItemNumber: boolean
Item Number to update or notExample:
true
-
updateMaterialId: boolean
Material Id to update or notExample:
true
Nested Schema : KitFiltersRequest
Type:
object
Kit filter request
Show Source
-
blockNumber: string
blockNumberExample:
1
-
kitNumber: string
Kit NumberExample:
abc-2
-
kitRange: string
Kit rangeExample:
SEQUENCE_NUMBER:900:1200
-
kitStatus: string
Kit status idExample:
1
-
kitTypeIds: array
kitTypeIds
kitTypeIds
-
labelGroupId: string
Label group idExample:
B1B8327AFAA6412287106192AB5984EF
-
location: string
LocationExample:
ALL_SITES
-
lotId: string
Lot idExample:
B1B8327AFAA6412287106192AB5984EF
-
tempExcursionNumber: string
tempExcursionNumberExample:
1
Nested Schema : kitTypeIds
Type:
array
kitTypeIds
Show Source
-
Array of:
string(uuid)
kitTypeIds
Example:
[
"3F6567865E694182BEEA2B4F76538F05",
"461A0B8261454C1EBA56285BB538E7B5",
"EB2B77004EF74E479B6DDBA56D8B6A51"
]
Response
Supported Media Types
- application/json
200 Response
Successful operation
400 Response
Invalid kit status OR Invalid kit range filter OR Invalid label group in kit filters OR Invalid kit type OR Invalid Lot OR Invalid location OR You can update up to 5,000 kits at one time. Please update the kits in smaller groups OR No kits to update OR All kits should have same inventory status 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 OR Kit type not found
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