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
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: array
Show Source
Nested Schema : KitNumberBarcodeTO v1.0
Type: object
Title: KitNumberBarcodeTO v1.0
object containing Kit's number and barcode
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : InventoryUpdatedTO v1.0
Type: object
Title: InventoryUpdatedTO v1.0
object containing number of barcodes updated
Show Source

400 Response

Invalid Inventory Status
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
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
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object

500 Response

Internal server error
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object
Back to Top