Authorizations
Path Parameters
Body
application/json
Response
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
Example:
curl --request POST \
--url https://demo.enneo.ai/api/mind/intent/{intentId}/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"intentId": 123,
"code": "process_meter_reading",
"ticketId": 1010,
"informCustomer": false,
"dryRun": true,
"data": {
"_action": "enter_into_system"
},
"contractId": "376189"
}'{
"responseCode": "entered_into_system",
"success": true,
"messageLocalized": "Meter reading successfully entered into system",
"internalData": {
"requestEndpoint": "saveReadingByContractId",
"requestParams": "readingValue=21;date=2022-12-31"
},
"executedAt": 1672410060,
"userId": 1,
"sent": true,
"ticketClosed": true,
"recipient": "[email protected]",
"message": "We successfully processed your meter reading of 21 kWh dated Dec 31, 2022",
"template": "<p>Dear John,</p><p>%MESSAGE%</p><i>Mike from your service team</i>",
"txId": "c916167c94"
}Show child attributes
curl --request POST \
--url https://demo.enneo.ai/api/mind/intent/{intentId}/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"intentId": 123,
"code": "process_meter_reading",
"ticketId": 1010,
"informCustomer": false,
"dryRun": true,
"data": {
"_action": "enter_into_system"
},
"contractId": "376189"
}'{
"responseCode": "entered_into_system",
"success": true,
"messageLocalized": "Meter reading successfully entered into system",
"internalData": {
"requestEndpoint": "saveReadingByContractId",
"requestParams": "readingValue=21;date=2022-12-31"
},
"executedAt": 1672410060,
"userId": 1,
"sent": true,
"ticketClosed": true,
"recipient": "[email protected]",
"message": "We successfully processed your meter reading of 21 kWh dated Dec 31, 2022",
"template": "<p>Dear John,</p><p>%MESSAGE%</p><i>Mike from your service team</i>",
"txId": "c916167c94"
}