GET V1 stability/samples/{id}

Gets the Stability Sample with the specified id.

Request Information

Parameters

Name Description Additional information
id
The ID of the Stability Sample to get.

Define this parameter in the request URI.

Example Request

To get the Stability Sample with ID 12345, make the following API call: GET /stability/samples/12345

Response Information

HTTP Status Codes

Status Code Meaning
200 (OK) The request has completed successfully. The Stability Sample 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.
404 (Not Found) The Stability Sample with the specified ID could not be found or the parent Experiment has been closed. Ensure the ID has been correctly specified.

Response Body Formats

application/json, text/json

Sample:
{
  "ID": 1234,
  "SampleName": "Sample 1234",
  "ExperimentId": 10001,
  "StorageTemperature": "25c",
  "Deleted": true,
  "DeletedReason": "Frozen",
  "DueDate": "2013-07-16T15:30:00.012",
  "Duration": 5,
  "DurationUnits": "Week",
  "PreviousSamplesMissed": false,
  "Measurements": [
    {
      "ID": 1,
      "Name": "rheometry",
      "MethodName": "Method 1",
      "Measured": true,
      "DispenseSettings": {
        "Name": "EFD to Rheocup Dispense Parameters",
        "Setting": "Fast for Med-Low Viscosity",
        "Conditions": [
          {
            "Name": "EFD Dispense Speed",
            "Value": "5",
            "Units": "mm/s"
          },
          {
            "Name": "EFD Dispense Volume",
            "Value": "2",
            "Units": "ml"
          },
          {
            "Name": "EFD Dispense Offset",
            "Value": "1",
            "Units": "mm"
          },
          {
            "Name": "EFD Dispense Retraction Rate",
            "Value": "2",
            "Units": "mm/s"
          }
        ]
      }
    },
    {
      "ID": 2,
      "Name": "pH",
      "MethodName": "",
      "Measured": false,
      "DispenseSettings": null
    },
    {
      "ID": 3,
      "Name": "Particle Size",
      "MethodName": "Method 2",
      "Measured": false,
      "DispenseSettings": {
        "Name": "EFD to Malvern Dispense Parameters",
        "Setting": "Slow Dispense",
        "Conditions": [
          {
            "Name": "EFD Dispense Speed",
            "Value": "1",
            "Units": "mm/s"
          },
          {
            "Name": "EFD Dispense Volume",
            "Value": "1",
            "Units": "ml"
          }
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<Sample xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.Stability.V1">
  <Deleted>true</Deleted>
  <DeletedReason>Frozen</DeletedReason>
  <DueDate>2013-07-16T15:30:00.012</DueDate>
  <Duration>5</Duration>
  <DurationUnits>Week</DurationUnits>
  <ExperimentId>10001</ExperimentId>
  <ID>1234</ID>
  <Measurements>
    <SampleMeasurement>
      <DispenseSettings xmlns:d4p1="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.EMS.V1">
        <d4p1:Conditions>
          <d4p1:WellCondition>
            <d4p1:Name>EFD Dispense Speed</d4p1:Name>
            <d4p1:Units>mm/s</d4p1:Units>
            <d4p1:Value>5</d4p1:Value>
          </d4p1:WellCondition>
          <d4p1:WellCondition>
            <d4p1:Name>EFD Dispense Volume</d4p1:Name>
            <d4p1:Units>ml</d4p1:Units>
            <d4p1:Value>2</d4p1:Value>
          </d4p1:WellCondition>
          <d4p1:WellCondition>
            <d4p1:Name>EFD Dispense Offset</d4p1:Name>
            <d4p1:Units>mm</d4p1:Units>
            <d4p1:Value>1</d4p1:Value>
          </d4p1:WellCondition>
          <d4p1:WellCondition>
            <d4p1:Name>EFD Dispense Retraction Rate</d4p1:Name>
            <d4p1:Units>mm/s</d4p1:Units>
            <d4p1:Value>2</d4p1:Value>
          </d4p1:WellCondition>
        </d4p1:Conditions>
        <d4p1:Name>EFD to Rheocup Dispense Parameters</d4p1:Name>
        <d4p1:Setting>Fast for Med-Low Viscosity</d4p1:Setting>
      </DispenseSettings>
      <ID>1</ID>
      <Measured>true</Measured>
      <MethodName>Method 1</MethodName>
      <Name>rheometry</Name>
    </SampleMeasurement>
    <SampleMeasurement>
      <DispenseSettings xmlns:d4p1="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.EMS.V1" i:nil="true" />
      <ID>2</ID>
      <Measured>false</Measured>
      <MethodName></MethodName>
      <Name>pH</Name>
    </SampleMeasurement>
    <SampleMeasurement>
      <DispenseSettings xmlns:d4p1="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.EMS.V1">
        <d4p1:Conditions>
          <d4p1:WellCondition>
            <d4p1:Name>EFD Dispense Speed</d4p1:Name>
            <d4p1:Units>mm/s</d4p1:Units>
            <d4p1:Value>1</d4p1:Value>
          </d4p1:WellCondition>
          <d4p1:WellCondition>
            <d4p1:Name>EFD Dispense Volume</d4p1:Name>
            <d4p1:Units>ml</d4p1:Units>
            <d4p1:Value>1</d4p1:Value>
          </d4p1:WellCondition>
        </d4p1:Conditions>
        <d4p1:Name>EFD to Malvern Dispense Parameters</d4p1:Name>
        <d4p1:Setting>Slow Dispense</d4p1:Setting>
      </DispenseSettings>
      <ID>3</ID>
      <Measured>false</Measured>
      <MethodName>Method 2</MethodName>
      <Name>Particle Size</Name>
    </SampleMeasurement>
  </Measurements>
  <PreviousSamplesMissed>false</PreviousSamplesMissed>
  <SampleName>Sample 1234</SampleName>
  <StorageTemperature>25c</StorageTemperature>
</Sample>