POLICY_CANCEL
#
Request payloadPOST: 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 '{ "lineId": "<UUID of the product you are firing the event for>", "type": "POLICY_CANCEL", "payload": { "clientId": "<clientId>", "policyNumber": "<policyNumber>", "configId": "<configId>", "effectiveDate": "<effectiveDate>", "label": "<label>", "backOfficeIntake": { "<qid>": "<answer>" } }}'
{ "lineId": "262e67be-c08c-43c0-bb51-06fe4408b4e9", "type": "POLICY_CANCEL", "payload": { "clientId": "262e67be-c08c-43c0-bb51-06fe4408b4e9", "policyNumber": "<policyNumber>", "configId": "262c67be-c08c-43c0-bb51-06fe4408b4e9", "effectiveDate": "2020-01-13", "label": "label", "backOfficeIntake": { "numEmployees": "17" } }}
Event payload fields:
Type | Required | Description |
---|---|---|
lineId | true | UUID for the associated product |
type | true | Must be set to POLICY_CANCEL |
payload | true | Explained below |
Payload fields
Type | Required | Description |
---|---|---|
clientId | true | UUID |
policyNumber | true | Policy number |
configId | true | Cancellation config ID |
effectiveDate | true | Effective date |
label | true | Label |
backOfficeIntake | true | Map of qid to answer |