Viewing ticket log events

This method allows you to access log events which have been stored for a ticket.

URL

/api/v2/tickets/log_events

Access

This method can be accessed by account tokens and user tokens where the associated user has access to the tickets UI.

Supported Parameters

  • ticket - the reference of the ticket which you wish to examine events for (required)
  • page - the page number for result pagination (optional, defaults to 1)

Example JSON

{
  "pagination": {
    "page": 3,
    "offset": 40,
    "per_page": 20,
    "pages": 3,
    "total_records": 42
  },
  "records": [
    {
      "id": 42,
      "description": "Posted an update with 1 words",
      "user": {
        "id": 1,
        "username": "adam",
        "first_name": "Daniel",
        "last_name": "Quinney",
        "email_address": "adam@atechmedia.com",
        "time_zone": "London",
        "created_at": "2012-04-02T12:32:56Z",
        "activated?": true,
        "invite_code": "8df51cea-975f-da47-9522-1fb7406c1fe7"
      },
      "timestamp": "2012-04-02T14:25:13Z"
    },
    {
      "id": 1,
      "description": "Added ticket through the staff tickets UI from 127.0.0.1",
      "user": {
        "id": 1,
        "username": "adam",
        "first_name": "Daniel",
        "last_name": "Quinney",
        "email_address": "adam@atechmedia.com",
        "time_zone": "London",
        "created_at": "2012-04-02T12:32:56Z",
        "activated?": true,
        "invite_code": "8df51cea-975f-da47-9522-1fb7406c1fe7"
      },
      "timestamp": "2012-04-02T13:12:57Z"
    }
  ]
}