GET V1 stability/sampleDeletionReasons

Gets all of the reasons that can be used when deleting a Stability Sample.

Authentication

This endpoint requires the api-username and api-usertoken headers for authentication.

Request Information

Example Request

To get all of the Sample Deletion Reasons, make the following API call: GET /stability/sampleDeletinoReasons

Response Information

HTTP Status Codes

Status CodeMeaning
200 (OK) The request has completed successfully. The Sample Deletion Reasons will be contained in the response body (see below).

Response Body Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Reason": "Reason 1"
  },
  {
    "ID": 2,
    "Reason": "Reason 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSampleDeletionReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Unilever.Urdps.Hts.EmsApi.EntityRepresentations.Stability.V1">
  <SampleDeletionReason>
    <ID>1</ID>
    <Reason>Reason 1</Reason>
  </SampleDeletionReason>
  <SampleDeletionReason>
    <ID>2</ID>
    <Reason>Reason 2</Reason>
  </SampleDeletionReason>
</ArrayOfSampleDeletionReason>