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. 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>