Aller au contenu principal

SupportTicket

idstringrequired

Identifiant numérique de la demande.

Example: 42
numberstringrequired
Example: 31004
subjectstringrequired

Possible values: <= 200 characters

categorystringrequired

Possible values: [technical, incident, billing, account]

resourcestring

Ressource concernée (facultatif).

tenantstringrequired
statusstringrequired

Possible values: [new, in_progress, waiting_on_you, resolved, closed]

lastActivityAtstring<date-time>required
unreadbooleanrequired

Un message de l'équipe est postérieur à votre dernière lecture.

severitystring

Pour un incident seulement.

Possible values: [low, medium, high, critical]

createdAtstring<date-time>required
resolvedAtstring<date-time>
reopenUntilstring<date-time>

Jusqu'à cette date, la demande résolue peut être rouverte (7 jours).

access objectrequired
statestringrequired

Possible values: [none, active]

grantedBystring
sincestring<date-time>
journalobject[]required
participants object[]required
  • Array [
  • namestringrequired

    Nom ; prénom seul pour un membre de l'équipe.

    rolestringrequired

    Possible values: [customer, team]

  • ]
  • thread object[]required
  • Array [
  • oneOf
    kindstringrequired

    Possible values: [message]

    idstringrequired
    author objectrequired
    namestringrequired

    Nom ; prénom seul pour un membre de l'équipe.

    rolestringrequired

    Possible values: [customer, team]

    bodystringrequired

    Texte brut (jamais de HTML).

    viaEmailbooleanrequired
    createdAtstring<date-time>required
    attachments object[]required
  • Array [
  • idstringrequired
    filenamestringrequired
    sizeintegerrequired
    contentTypestringrequired
  • ]
  • ]
  • SupportTicket
    {
    "id": "42",
    "number": "31004",
    "subject": "string",
    "category": "technical",
    "resource": "string",
    "tenant": "string",
    "status": "new",
    "lastActivityAt": "2024-07-29T15:51:28.071Z",
    "unread": true,
    "severity": "low",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "resolvedAt": "2024-07-29T15:51:28.071Z",
    "reopenUntil": "2024-07-29T15:51:28.071Z",
    "access": {
    "state": "none",
    "grantedBy": "string",
    "since": "2024-07-29T15:51:28.071Z",
    "journal": [
    {}
    ]
    },
    "participants": [
    {
    "name": "string",
    "role": "customer"
    }
    ],
    "thread": [
    {
    "kind": "message",
    "id": "string",
    "author": {
    "name": "string",
    "role": "customer"
    },
    "body": "string",
    "viaEmail": true,
    "createdAt": "2024-07-29T15:51:28.071Z",
    "attachments": [
    {
    "id": "string",
    "filename": "string",
    "size": 0,
    "contentType": "string"
    }
    ]
    },
    {
    "kind": "event",
    "type": "status",
    "value": "string",
    "by": "string",
    "at": "2024-07-29T15:51:28.071Z"
    }
    ]
    }