Skip to content

POLICY_RENEWAL_QUOTING_FAILED

This event is fired when the renewal quoting process for a policy fails.
It indicates that the system attempted to generate renewal quotes but encountered an error or failure in the process.

When and what fires this event?

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

  • System: fires this event automatically when a renewal quote attempt fails;
  • Automation: may trigger email notifications or webhook integrations based on the configured actions;
  • Event payload: includes contextual information about the client and policy associated with the failed renewal process.

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_QUOTING_FAILED",
  "payload": {
    "policyId": "a1213f1b-0a41-4f9e-97c8-30ce21aa87b1",
    "clientId": "c07a0db0-0667-46b1-ad8b-d1a19829f03e",
    "documents": []
  }
}'
{
  "type": "POLICY_RENEWAL_QUOTING_FAILED",
  "payload": {
    "policyId": "a1213f1b-0a41-4f9e-97c8-30ce21aa87b1",
    "clientId": "c07a0db0-0667-46b1-ad8b-d1a19829f03e",
    "documents": []
  }
}

Request fields

PropertyRequiredDescription
typetrueMust be set to POLICY_RENEWAL_QUOTING_FAILED.
payloadtrueObject containing event-specific data.

Payload fields

PropertyRequiredDescription
policyIdtrueUUID of the policy that failed to renew.
clientIdfalseUUID of the client associated with the policy renewal.
documentsfalseList of documents related to the event.

Response json

{
  "success": true,
  "message": "Event fired successfully",
  "data": {
    "triggerRequestId": "34cf2520-41a8-45b1-9b29-9a552db2b02c",
    "executedActionCount": 2,
    "expectedResponseCount": 1
  },
  "timestamp": "2025-01-17T12:00:00.000Z"
}

Response fields

This response represents the standard event-firing wrapper returned by the service.

PropertyRequiredDescription
successtrueIndicates whether the event firing request completed successfully.
messagetrueMessage describing the result of the operation.
datatrueContains metadata about the trigger execution (see below).
timestamptrueTimestamp representing when the response was generated.

Data fields

The data object contains detailed information about the executed trigger.

PropertyRequiredDescription
triggerRequestIdtrueUUID that uniquely identifies the trigger execution instance.
executedActionCounttrueNumber of actions executed in this trigger run.
expectedResponseCounttrueNumber of expected responses produced by the executed actions.