Skip to main content

Waiver Reason REST API

The Waiver Reason REST API can be used to retrieve all Waiver Reasons that can be applied to a waiver.

All authenticated users in Lifecycle can use the Waiver Reason REST API to view the Waiver Reasons .

Methods Supported

GET

GET /api/v2/policyWaiverReasons

Example

curl -u admin:admin123 -X GET http://localhost:8070/api/v2/policyWaiverReasons

Response

[
  {
    "id": "9b704ef5bc064fc29d7fe08a251ee9a6",
    "type": "system",
    "reasonText": "Acknowledged violation"
  },
  {
    "id": "42069f58114f4df8b435a40a415d2835",
    "type": "system",
    "reasonText": "Mitigated externally"
  },
  {
    "id": "39984de3d6e64f508df82b4cbfd72f70",
    "type": "system",
    "reasonText": "No upgrade path"
  },
  {
    "id": "f6990a32cd8d4ea78853ca829d948927",
    "type": "system",
    "reasonText": "Not exploitable"
  },
  {
    "id": "3446e70e60e04676a90131f3dea9bdb5",
    "type": "system",
    "reasonText": "Researching"
  },
  {
    "id": "c991ef95866d4903ad0c6c217ac47c07",
    "type": "system",
    "reasonText": "Other"
  }
]

Response Fields:

Field name

Description

id

The internal Id assigned to the Waiver Reason

type

The value system indicates that the Waiver Reason is system generated

reasonText

Shows the text for the Waiver Reason