PUT V1 ems/experimentFactors/substrates/values/{substrateValueId}/lotId?value={value}
Updates the Lot ID for the specified substrate factor value.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
substrateValueId |
The ID of the substrate factor to update the Lot ID for. |
Define this parameter in the request URI. |
value |
The Lot ID. This is the FReg ID of the relevant material lot. |
Define this parameter in the request URI. |
Example Request
To update the Lot ID to 67890 for the Substrate Factor Value with ID 12345, make the following API call: PUT /ems/experimentFactors/substrates/values/12345/lotId?value=67890
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 lot ID for the specified substrate factor value will have been updated. |
400 (Bad Request) | The substrate factor value is not a material OR the lot ID specified is not defined for the material. The nature of the error will be indicated in the Response content. |
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) | 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 substrate factor value does not exist or the parent Experiment has been closed. Ensure the ID has been correctly specified. |