Enneo

Ticket

Ping a ticket

GET /ticket/{ticketId}/ping

GET /ticket/{ticketId}/ping

Ping a ticket to keep time tracking for agent and to refresh the list of currently-active agents on this ticket. The FE polls this every 30s and uses workedOnBy to overwrite its cached list, so the "another agent is working on this ticket" warning becomes two-sided (both the first and the second agent see it).

Path parameters

ticketIdintegerpathrequired

The id of the ticket

Responses

200 — Successful operation

Response Example

{
  "success": true,
  "workedOnBy": [
    {
      "id": 1,
      "firstName": "Max",
      "lastName": "Mustermann",
      "email": "demo@enneo.dev",
      "phone": "+49 123 456789",
      "image": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
      "password": 123456,
      "lastSeen": "2022-08-12 12:21:21",
      "type": "enneo",
      "isSsoOnly": 0,
      "lang": "de",
      "nameAlias": "Johnny",
      "externalId": "EMP-12345"
    }
  ]
}

403 — Unauthorized

404 — Ticket not found

500 — Internal error