Skip to content

UNDERWRITING_DECLINED

Called when a submission has been declined by underwriting.

Submit this event using Firing an Event. Product configuration and enabled actions determine the workflow behavior. Use identifiers and snapshots from the same environment.

Request payload#

HTTPPOST
POST https://api.{ENV}.dais.com/ioi/v3/event/fire
cURL
curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/event/fire' \
--header 'Authorization: Basic <Base64-encoded API key and secret>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type": "UNDERWRITING_DECLINED",
  "payload": {
    "quote": {
      "requestId": "<UUID of the quote request ID>",
      "quoteDetails": {
        "premium": {
          "amount": -1.0,
          "per": "YEAR"
        },
        "duration": {
          "length": 1,
          "scale": "YEAR"
        },
        "coverageTypes": []
      },
      "pipelineId": "<UUID of the pipeline ID>",
      "triggerRequestId": "<UUID of the trigger request ID>",
      "type": "QUOTE",
      "lineId": "<UUID of the product ID>",
      "clientId": "<UUID of the client ID>",
      "clientOrganizationId": "<UUID of the client organization ID>",
      "quotingOrganizationId": "<UUID of the quoting organization ID>",
      "source": {
        "sourceType": "EXTERNAL",
        "organizationId": "<UUID of the organization ID>"
      },
      "effectiveDate": "2026-11-01"
    },
    "acceptanceResponse": {
      "isApproved": false,
      "responseSource": "UNDERWRITER",
      "decisionTimestamp": "2026-02-27T12:00:00Z"
    }
  }
}'
JSON
{
  "type": "UNDERWRITING_DECLINED",
  "payload": {
    "quote": {
      "requestId": "<UUID of the quote request ID>",
      "quoteDetails": {
        "premium": {
          "amount": -1.0,
          "per": "YEAR"
        },
        "duration": {
          "length": 1,
          "scale": "YEAR"
        },
        "coverageTypes": []
      },
      "pipelineId": "<UUID of the pipeline ID>",
      "triggerRequestId": "<UUID of the trigger request ID>",
      "type": "QUOTE",
      "lineId": "<UUID of the product ID>",
      "clientId": "<UUID of the client ID>",
      "clientOrganizationId": "<UUID of the client organization ID>",
      "quotingOrganizationId": "<UUID of the quoting organization ID>",
      "source": {
        "sourceType": "EXTERNAL",
        "organizationId": "<UUID of the organization ID>"
      },
      "effectiveDate": "2026-11-01"
    },
    "acceptanceResponse": {
      "isApproved": false,
      "responseSource": "UNDERWRITER",
      "decisionTimestamp": "2026-02-27T12:00:00Z"
    }
  }
}

Request Fields#

See the shared event envelope. Set type to UNDERWRITING_DECLINED and provide the payload below.

Payload Fields#

PropertyRequiredDescription
quoteYesQuote snapshot object. Use the quote's requestId as its identifier.
acceptanceResponseYesAcceptance decision object.

Response#

This example illustrates the common trigger response structure. Action counts and metadata depend on the actions that run; action-specific result fields are described where applicable.

JSON
{
  "triggerRequestId": "<UUID of the trigger request ID>",
  "executedActionCount": 0,
  "expectedResponseCount": 0,
  "metadata": {}
}

Response Fields#

PropertyDescription
triggerRequestIdUUID identifying this trigger execution.
executedActionCountNumber of actions reported as executed.
expectedResponseCountNumber of expected action responses.
metadataAction-specific results; may be empty.

See Firing an Event for execution modes and response handling.