Skip to content

UNDERWRITING_DECLINED

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_DECLINED",
    "clientId": "<clientId>",
    "quoteId": "<quoteId>",
    "policyId": "<policyId>",
    "policyNumber": "<policyNumber>"
}'
{
    "type": "UNDERWRITING_DECLINED",
    "clientId": "3781f5c0-fae6-4bab-8091-8d385fd2a8f5",
    "quoteId": "d0d0eadc-fb94-49e3-b03a-f3cb2bb6882c",
    "policyId": "fcbd4955-9f37-4c95-97d2-aa9144c9811a",
    "policyNumber": "123456789"
}

Event payload fields:

TypeRequiredDescription
typetrueMust be set to UNDERWRITING_DECLINED
clientIdfalseUUID for the client
quoteIdfalseUUID for the quote
policyIdfalseUUID for the policy
policyNumberfalsePolicy number