Skip to content

POLICY_RENEWAL_FAILED

This event is fired when a policy renewal process fails. It indicates that the renewal could not be completed successfully.

When and what fires this event?

If this event is defined on a product, and it has actions that are enabled:

  • System: fires automatically when a policy renewal process fails.
  • API: can fire this event externally on demand.
  • Automated workflows: fires when renewal errors occur.

Request payload

POST: https://api.{ENV}.dais.com/ioi/v3/event/fire

curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/event/fire' \
--header 'Authorization: Basic <yourAuthHere>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "POLICY_RENEWAL_FAILED",
    "payload": {
        "policyId": "<policyID>"
    }
}'
{
    "type": "POLICY_RENEWAL_FAILED",
    "payload": {
        "policyId": "3781f5c0-fae6-4bab-8091-8d385fd2a8f5"
    }
}

Request fields

PropertyRequiredDescription
typetrueMust be set to POLICY_RENEWAL_FAILED
payloadtrueSee Payload fields below

Payload fields

PropertyRequiredDescription
policyIdtrueUUID for the policy

Response json

{
  "triggerRequestId": "386861af-6875-49b2-b38c-c435263039be",
  "executedActionCount": 0,
  "expectedResponseCount": 0,
  "metadata": {}
}

Response fields

PropertyRequiredDescription
triggerRequestIdtrueUUID that uniquely identifies the trigger execution instance.
executedActionCounttrueNumber of actions executed during this trigger run.
expectedResponseCounttrueNumber of responses expected from the executed actions.
metadatatrueContains dynamically generated data from executed workflow actions.