PUT V1 ems/wells/{wellId}/barcode?value={value}

Updates the barcode for the Well with the specified ID.

Request Information

Parameters

Name Description Additional information
wellId
The ID of the Well to update the Barcode for.

Define this parameter in the request URI.

value
The Barcode value

Define this parameter in the request URI.

Example Request

To update the Barcode to "AB123456" for the Well with ID 1234, make the following API call: PUT /ems/wells/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 well will have been updated.
401 (Unauthorized) The user has not been authorised due to the below reasons which will be displayed in the response content.
API Key is not found. Data received apiKey
Secret Key is wrong. Data received apiKey
Username not found. Data received apiKey
Received token not found in EMS issuer. Data received username, version
Lifetime validation failed. The token is expired. ValidTo (UTC): expiry, Current time (UTC): UTC DateTime
Token creation failed. Reason: The given username or password is wrong. For input: username, version
Please ensure that the client provides the api-username and api-usertoken headers.
403 (Forbidden) Access Denied. The user does not have write access to the well.
404 (Not Found) The specified well does not exist or the parent Experiment has been closed. Ensure the ID has been correctly specified.