Update a kit's barcode
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/barcode
Updates a kit's barcode. 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:
Show Source
array
-
Array of:
object KitNumberBarcodeTO v1.0
Title:
KitNumberBarcodeTO v1.0
object containing Kit's number and barcode
Nested Schema : KitNumberBarcodeTO v1.0
Type:
object
Title:
KitNumberBarcodeTO v1.0
object containing Kit's number and barcode
Show Source
-
barcode: string
Minimum Length:
0
Maximum Length:1000
barcode of the kitExample:61234
-
kitNumber: number
(double)
kitNumber of the kitExample:
5
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : InventoryUpdatedTO v1.0
Type:
object
Title:
InventoryUpdatedTO v1.0
object containing number of barcodes updated
Show Source
-
inventoryUpdated: number
(double)
Maximum number of subjects who can be randomized for the study.Example:
5
400 Response
Invalid Inventory 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 or version OR Study not found OR Inventory 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