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
| Property | Required | Description |
|---|---|---|
type | true | Must be set to POLICY_RENEWAL_QUOTING_FAILED. |
payload | true | Object containing event-specific data. |
Payload fields
| Property | Required | Description |
|---|---|---|
policyId | true | UUID of the policy that failed to renew. |
clientId | false | UUID of the client associated with the policy renewal. |
documents | false | List 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.
| Property | Required | Description |
|---|---|---|
success | true | Indicates whether the event firing request completed successfully. |
message | true | Message describing the result of the operation. |
data | true | Contains metadata about the trigger execution (see below). |
timestamp | true | Timestamp representing when the response was generated. |
Data fields
The data object contains detailed information about the executed trigger.
| Property | Required | Description |
|---|---|---|
triggerRequestId | true | UUID that uniquely identifies the trigger execution instance. |
executedActionCount | true | Number of actions executed in this trigger run. |
expectedResponseCount | true | Number of expected responses produced by the executed actions. |