PATCH
/
template
/
{id}
curl --request PATCH \
  --url https://demo.enneo.ai/api/mind/template/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "tagId": 1,
  "emailTemplateId": 1,
  "description": "Zählerstand erfolgreich hinterlegt",
  "message": "<p>Wir haben den Zählerstand von {{intent.data.reading}} kWh für den {{formatDateDE intent.data.date}} erfasst und im System hinterlegt.</p>",
  "subject": "Wir brauchen Deine Unterstützung",
  "exampleTicketIds": [
    1
  ],
  "mergedTemplate": "Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt.",
  "template": "<p>Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt.</p>",
  "success": true
}'
{
  "success": true
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

id
number
required

The id of the template

Body

application/json
id
integer

The id of the template

tagId
integer

The id of the tag that the template belongs to

emailTemplateId
integer

The id of the email template that is used for wrapping

description
string

The description of the intent template

message
string

The template itself

subject
string

The subject of the email for outgoing emails

exampleTicketIds
integer[]

The ids of the tickets that are used as examples for the intent template

mergedTemplate
string

The merged template

template
string

The template itself

success
boolean

If true, the template is successful

Response

200
application/json
Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful