Zum Hauptinhalt springen
Version: API v1

Neues Support-Ticket

POST/tickets/
v1
POST
createSupportTicket

Erstellt ein neues Support-Ticket

Request

Responses

application/json

Das neu erstellte Ticket

  • uidinteger
    required
  • subjectstring
    required
  • messagestring
    required
  • createdAtstring (datetime)
    required
  • updatedAtstring (datetime)
    required
  • statusstring (one of: open, in-progress, feedback, information, answered, done)
    required
  • publicStatusstring (one of: open, in-progress, feedback, information, answered, done)
    required
  • authorobject
    required
    • namestring
      required
    • emailstring (email)
      required
    • telephonestring
      required
    • isMittwaldAuthorboolean
      required
  • accountobject
    • uidinteger
      required
    • namestring
      required
  • customerobject
    • customernumberinteger
      required
  • answersCountinteger
    required
  • filesarray of string (uuid)
    • Array[
    • *string (uuid)
    • ]

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"subject":"string","message":"string","author":{"name":"string","email":"email@mittwald.example","telephone":"string","notify":true},"account":{"name":"string"},"customer":{"customernumber":123},"files":[{"id":"f0f86186-0a5a-45b2-aa33-502777496347","type":"string","name":"string"}]}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v1/tickets