Update kit location
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/inventory/kits/location
Updates kit location. Rights: OrsInventoryPost 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:
objectRequest Object for kit location
Show Source
-
kitFilters: object
KitFiltersRequest
Kit filter request
-
kits: array
kits
Title:
kitsKit id. -
location: string
(uuid)
Unique Id for location.
-
reason: string
Minimum Length:
0Maximum Length:255Reason of updateExample:kit damaged by subject
Nested Schema : KitFiltersRequest
Type:
objectKit 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:
arraykitTypeIds
Show Source
-
Array of:
string(uuid)
kitTypeIds
Example:
[
"3F6567865E694182BEEA2B4F76538F05",
"461A0B8261454C1EBA56285BB538E7B5",
"EB2B77004EF74E479B6DDBA56D8B6A51"
]Response
Supported Media Types
- application/json
200 Response
Successful operation
400 Response
Invalid location OR Specify at least one filter OR Either kits or kitFilters is required. OR Invalid kit OR 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
Root Schema : ORSResponse
Type:
objectCommon 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:
objectResult Object
Nested Schema : details
Type:
object404 Response
Invalid study ID or version
Root Schema : ORSResponse
Type:
objectCommon 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:
objectResult Object
Nested Schema : details
Type:
object500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon 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:
objectResult Object
Nested Schema : details
Type:
object