Zum Hauptinhalt springen
POST
/
reminder
Create a reminder
curl --request POST \
  --url https://demo.enneo.ai/api/mind/reminder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ticketId": 1,
  "type": "reOpenTicket",
  "date": "2024-08-29 14:38:12"
}
'
{
  "id": 123,
  "ticketId": 321,
  "type": "reOpenTicket",
  "date": "2024-08-29 14:38:12",
  "status": "open"
}

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Body

application/json
ticketId
integer

The id of the ticket against which to compare the intent examples

Beispiel:

1

type
enum<string>
Verfügbare Optionen:
reOpenTicket,
freeText
date
string<DateTime>
Beispiel:

"2024-08-29 14:38:12"

Antwort

Reminder created

Reminder object

id
integer

Reminder id

Beispiel:

123

ticketId
integer

The id of the ticket against which to compare the intent examples

Beispiel:

321

type
enum<string>

Reminder type

Verfügbare Optionen:
reOpenTicket,
freeText
date
string<DateTime>
Beispiel:

"2024-08-29 14:38:12"

status
enum<string>

Reminder status

Verfügbare Optionen:
open,
closed,
deleted