GET V1 stability/measurements
Gets the details of all Stability Measurements defined in the EMS.
Request Information
Example Request
To get all Stability Measurements, make the following API call: GET /stability/measurements
Request Detail
This endpoint requires the api-username
and
api-usertoken
headers to be present. If these headers are not present, a 401 (Unauthorized)
response will be returned.
Response Information
HTTP Status Codes
Status Code | Meaning |
---|---|
200 (OK) | The request has completed successfully. The Stability Measurements 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 there are no Stability Measurements defined.
Response Body Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "rheometry", "Methods": [ { "ID": 7, "Name": "FabConStressProfile", "Description": "Increasing Shear rate 1-100 then decrease 100-1", "Fields": [] } ], "DispenseSettings": [ { "ID": 8, "Name": "Std Viscosity Dispense (1 mm/s)" } ] }, { "ID": 2, "Name": "pH", "Methods": [ { "ID": 9, "Name": "pH_Only", "Description": "pH measurement", "Fields": [] }, { "ID": 10, "Name": "pH (System Defined)", "Description": "System defined pH method to allow manual entry of pH", "Fields": [ { "ID": 11, "Name": "pH", "Description": "Manual entry of pH", "HasLimits": true } ] } ], "DispenseSettings": [ { "ID": 12, "Name": "Dispense Setting" } ] }, { "ID": 3, "Name": "Particle Size", "Methods": [ { "ID": 13, "Name": "Malvern 1", "Description": "Malvern 1 Method Description", "Fields": [] } ], "DispenseSettings": [ { "ID": 14, "Name": "Opaque" } ] }, { "ID": 4, "Name": "Refractive Index", "Methods": [ { "ID": 15, "Name": "Refractive Index Analysis", "Description": "RI analysis", "Fields": [] } ], "DispenseSettings": [ { "ID": 16, "Name": "Standard" } ] }, { "ID": 5, "Name": "Colour", "Methods": [ { "ID": 17, "Name": "Colour Method", "Description": "Colour Method description", "Fields": [] } ], "DispenseSettings": [ { "ID": 18, "Name": "Test Setting" }, { "ID": 19, "Name": "Standard" } ] }, { "ID": 6, "Name": "Observation", "Methods": [ { "ID": 20, "Name": "Shampoo", "Description": "Observational measures for Shampoo", "Fields": [ { "ID": 21, "Name": "Odour Intensity", "Description": "", "HasLimits": false } ] } ], "DispenseSettings": [] } ]
application/xml, text/xml
Sample:
<ArrayOfMeasurement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.Stability.V1"> <Measurement> <DispenseSettings> <MeasurementDispenseSetting> <ID>8</ID> <Name>Std Viscosity Dispense (1 mm/s)</Name> </MeasurementDispenseSetting> </DispenseSettings> <ID>1</ID> <Methods> <MeasurementMethod> <Description>Increasing Shear rate 1-100 then decrease 100-1</Description> <Fields /> <ID>7</ID> <Name>FabConStressProfile</Name> </MeasurementMethod> </Methods> <Name>rheometry</Name> </Measurement> <Measurement> <DispenseSettings> <MeasurementDispenseSetting> <ID>12</ID> <Name>Dispense Setting</Name> </MeasurementDispenseSetting> </DispenseSettings> <ID>2</ID> <Methods> <MeasurementMethod> <Description>pH measurement</Description> <Fields /> <ID>9</ID> <Name>pH_Only</Name> </MeasurementMethod> <MeasurementMethod> <Description>System defined pH method to allow manual entry of pH</Description> <Fields> <MethodField> <Description>Manual entry of pH</Description> <HasLimits>true</HasLimits> <ID>11</ID> <Name>pH</Name> </MethodField> </Fields> <ID>10</ID> <Name>pH (System Defined)</Name> </MeasurementMethod> </Methods> <Name>pH</Name> </Measurement> <Measurement> <DispenseSettings> <MeasurementDispenseSetting> <ID>14</ID> <Name>Opaque</Name> </MeasurementDispenseSetting> </DispenseSettings> <ID>3</ID> <Methods> <MeasurementMethod> <Description>Malvern 1 Method Description</Description> <Fields /> <ID>13</ID> <Name>Malvern 1</Name> </MeasurementMethod> </Methods> <Name>Particle Size</Name> </Measurement> <Measurement> <DispenseSettings> <MeasurementDispenseSetting> <ID>16</ID> <Name>Standard</Name> </MeasurementDispenseSetting> </DispenseSettings> <ID>4</ID> <Methods> <MeasurementMethod> <Description>RI analysis</Description> <Fields /> <ID>15</ID> <Name>Refractive Index Analysis</Name> </MeasurementMethod> </Methods> <Name>Refractive Index</Name> </Measurement> <Measurement> <DispenseSettings> <MeasurementDispenseSetting> <ID>18</ID> <Name>Test Setting</Name> </MeasurementDispenseSetting> <MeasurementDispenseSetting> <ID>19</ID> <Name>Standard</Name> </MeasurementDispenseSetting> </DispenseSettings> <ID>5</ID> <Methods> <MeasurementMethod> <Description>Colour Method description</Description> <Fields /> <ID>17</ID> <Name>Colour Method</Name> </MeasurementMethod> </Methods> <Name>Colour</Name> </Measurement> <Measurement> <DispenseSettings /> <ID>6</ID> <Methods> <MeasurementMethod> <Description>Observational measures for Shampoo</Description> <Fields> <MethodField> <Description></Description> <HasLimits>false</HasLimits> <ID>21</ID> <Name>Odour Intensity</Name> </MethodField> </Fields> <ID>20</ID> <Name>Shampoo</Name> </MeasurementMethod> </Methods> <Name>Observation</Name> </Measurement> </ArrayOfMeasurement>