PUT V1 ems/plates/{plateId}/barcode?value={value}
Updates the barcode for the Plate with the specified ID.
Authentication
This endpoint requires the api-username
and api-usertoken
headers for authentication.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
plateId | The ID of the Plate to update the Barcode for. |
Define this parameter in the request URI. |
value | The Barcode value. This barcode should be unique amongst all Plates in the Experiment that the specified Plate belongs to. |
Define this parameter in the request URI. |
Example Request
To update the Barcode to "AB123456" for the Plate with ID 1234, make the following API call: PUT /ems/plates/1234/barcode?value=AB123456
Request Detail
This request should be made with the Content-Type header set to 'application/x-www-form-urlencoded'.
Response Information
HTTP Status Codes
Status Code | Meaning |
---|---|
204 (No Content) | The request has completed successfully. The barcode for the specified plate will have been updated. |
400 (Bad Request) | The plate barcode already exists for another plate in the same experiment. |
401 (Unauthorized) | The user has not been authorised. Please ensure that the client provides the api-username and api-usertoken headers. |
403 (Forbidden) | The user does not have permission to access the specified experiment. Please use EMS to add the user to the experiment access control list. |
404 (Not Found) | The specified plate does not exist or the parent Experiment has been closed. Ensure the ID has been correctly specified. |