Ticket created
type: ticket_created

New ticket was created.

Body

{
  "type": "ticket_created",
  "data": {
    "id": "7024061",
    "status": "NEW",
    "source": "MANUAL",
    "line": 37338,
    "firstName": "Mari",
    "lastName": "Murakas",
    "phoneNumber": 536433248,
    "created": {
      "date": "2016-02-18T10:04:11Z"
    },
    "extra": [
      {
        "title": "Email",
        "value": "mmurakas@qminderapp.com"
      }
    ]
  }
}
Ticket called
type: ticket_called

Ticket was called.

Body

{
  "type": "ticket_called",
  "data": {
    "id": "7024061",
    "status": "CALLED",
    "source": "MANUAL",
    "line": 37338,
    "firstName": "Mari",
    "lastName": "Murakas",
    "phoneNumber": 536433248,
    "created": {
      "date": "2016-02-18T10:04:11Z"
    },
    "called": {
      "date": "2016-02-18T10:10:05Z",
      "caller": 14272,
      "desk": 3
    }
  }
}
Ticket recalled
type: ticket_recalled

Ticket was recalled.

Body

{
  "type": "ticket_recalled",
  "data": {
    "id": "7016885",
    "status": "CALLED",
    "source": "MANUAL",
    "line": 37337,
    "firstName": "Ott",
    "lastName": "Okas",
    "created": {
      "date": "2016-02-18T10:42:59Z"
    },
    "called": {
      "date": "2016-02-18T10:43:04Z",
      "caller": 14267,
      "desk": 3
    }
  }
}
Ticket cancelled
type: ticket_cancelled

Ticket was cancelled (removed).

Body

{
  "type": "ticket_cancelled",
  "data": {
    "id": "7016886",
    "status": "CANCELLED_BY_CLERK",
    "source": "MANUAL",
    "line": 37337,
    "firstName": "Tõnu",
    "lastName": "Tasane",
    "created": {
      "date": "2016-02-18T10:54:44Z"
    }
  }
}
Ticket served
type: ticket_served

Ticket was served.

Body

{
  "type": "ticket_served",
  "data": {
    "id": "7016885",
    "status": "SERVED",
    "source": "MANUAL",
    "line": 37337,
    "firstName": "Ott",
    "lastName": "Okas",
    "created": {
      "date": "2016-02-18T10:42:59Z"
    },
    "called": {
      "date": "2016-02-18T10:43:04Z",
      "caller": 14267,
      "desk": 3
    },
    "served": {
      "date": "2016-02-18T10:53:19Z"
    }
  }
}
Ticket changed
type: ticket_changed

Ticket was changed (edited) or a label was added.

Body

{
  "type": "ticket_changed",
  "data": {
    "id": "7016887",
    "status": "NEW",
    "source": "MANUAL",
    "line": 37337,
    "firstName": "Jaanus",
    "lastName": "Jalakas",
    "created": {
      "date": "2016-02-18T10:56:06Z"
    },
    "labels": [
      {
        "value": "Customer",
        "color": "0074D9"
      }
    ]
  }
}