STATEMENT_CREATED
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": "STATEMENT_CREATED",
"payload": {
"statementId": "<statementId>"
}
}'
{
"type": "STATEMENT_CREATED",
"payload": {
"statementId": "b5d87fb6-1f92-44b7-882a-0470ce228395"
}
}
Event payload fields:
| Type | Required | Description |
|---|---|---|
type | true | Must be set to STATEMENT_CREATED |
payload | true | Explained below |
Payload fields
| Type | Required | Description |
|---|---|---|
statementId | true | UUID for the statement |