UNDERWRITING_APPROVED
This event is fired when underwriting approves a quote or policy application. It indicates that the risk has been accepted and the policy can proceed.
When and what fires this event?
If this event is defined on a product, and it has actions that are enabled:
- Underwriting system: fires when an underwriter approves a quote or application;
- API: can fire this event externally on demand;
- Automated workflows: fires when underwriting approval is granted.
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": "UNDERWRITING_APPROVED",
"payload": {
"clientId": "<clientId>",
"quoteId": "<quoteId>",
"policyId": "<policyId>",
"policyNumber": "<policyNumber>"
}
}'
{
"type": "UNDERWRITING_APPROVED",
"payload": {
"clientId": "3781f5c0-fae6-4bab-8091-8d385fd2a8f5",
"quoteId": "d0d0eadc-fb94-49e3-b03a-f3cb2bb6882c",
"policyId": "fcbd4955-9f37-4c95-97d2-aa9144c9811a",
"policyNumber": "123456789"
}
}
Request fields
| Property | Required | Description |
|---|---|---|
type | true | Must be set to UNDERWRITING_APPROVED |
payload | true | See Payload fields below |
Payload fields
| Property | Required | Description |
|---|---|---|
clientId | false | UUID for the client |
quoteId | false | UUID for the quote |
policyId | false | UUID for the policy |
policyNumber | false | Policy number |
Response json
{
"triggerRequestId": "386861af-6875-49b2-b38c-c435263039be",
"executedActionCount": 0,
"expectedResponseCount": 0,
"metadata": {}
}
Response fields
| Property | Required | Description |
|---|---|---|
triggerRequestId | true | UUID that uniquely identifies the trigger execution instance. |
executedActionCount | true | Number of actions executed during this trigger run. |
expectedResponseCount | true | Number of responses expected from the executed actions. |
metadata | true | Contains dynamically generated data from executed workflow actions. |