GET V1 stability/sampleDueDates?plateId={plateId}
Gets the dates when the samples on a Plate are due to be measured. Here, a Plate refers to a product at a particular temperature.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
plateId |
The ID of the Plate to get the Sample Measurement Due Dates for. |
Define this parameter in the request URI. |
Example Request
To get the Sample Measurement Due Dates for the Plate with ID 1234, make the following API call: GET /stability/sampleDueDates?plateId=1234
Response Information
HTTP Status Codes
Status Code | Meaning |
---|---|
200 (OK) | The request has completed successfully. The Sample Measurement Due Dates will be contained in the response body (see below). |
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.
|
Response Detail
An empty collection means that the Plate did not exist, the Plate did not have any associated Sample measurements or the parent Experiment has been closed. Note that the response will only contain due dates for samples that have not been deleted and have not already been measured.
Response Body Formats
application/json, text/json
Sample:
[ { "DueDate": "2013-07-18T00:00:00", "SampleId": 100001 }, { "DueDate": "2013-07-19T00:00:00", "SampleId": 100002 } ]
application/xml, text/xml
Sample:
<ArrayOfSampleDueDate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.Stability.V1"> <SampleDueDate> <DueDate>2013-07-18T00:00:00</DueDate> <SampleId>100001</SampleId> </SampleDueDate> <SampleDueDate> <DueDate>2013-07-19T00:00:00</DueDate> <SampleId>100002</SampleId> </SampleDueDate> </ArrayOfSampleDueDate>