Skip to content

CLIENT_STATUS_UPDATED

Called when the status of a client is updated

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": "CLIENT_STATUS_UPDATED",
  "payload": {
    "clientId": "<UUID of the client ID>",
    "productId": "<UUID of the product ID>",
    "statusKey": "ACTIVE",
    "description": "<Description>",
    "clientAnswers": {
      "confirmation": true,
      "updatedBy": "<User identifier>"
    }
  }
}'
JSON
{
  "type": "CLIENT_STATUS_UPDATED",
  "payload": {
    "clientId": "<UUID of the client ID>",
    "productId": "<UUID of the product ID>",
    "statusKey": "ACTIVE",
    "description": "<Description>",
    "clientAnswers": {
      "confirmation": true,
      "updatedBy": "<User identifier>"
    }
  }
}

Request Fields#

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

Payload Fields#

PropertyRequiredTypeDescription
clientIdYesUUIDUnique identifier of the client whose status has been updated.
productIdYesUUIDIdentifier of the associated product or policy line.
statusKeyYesStringKey of the new client status (e.g., "ACTIVE", "SUSPENDED").
descriptionNoStringOptional description or reason for the status change.
clientAnswersNoMapOptional custom data or form responses related to the client.

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.