Listing all updates for a ticket

This method will list all the updates for a given ticket.

URL

/api/v2/ticket_updates/all

Access

This method is available to all account tokens and any user tokens who have access to the ticket.

Supported Parameters

  • ticket - the ticket reference (required)

Example JSON

[
  {
      "id": 1,
      "subject": "blah blah",
      "message": "blah blah",
      "html_body": "blah blah",
      "html_safe": false,
      "private": false,
      "posted_at": "2013-03-14T17:10:17Z",
      "avatar_url": "https://secure.gravatar.com/avatar/a98ec57bf00fab2e1140da0ac6ed3b4d?rating=PG&size={{size}}&d=mm",
      "author": {
          "type": "Customer",
          "id": 4,
          "reference": "",
          "name": "Adam Cooke",
          "abbreviated_name": "Adam C",
          "company": "",
          "mail_format": "both",
          "pin": "703133",
          "created_at": "2013-03-14T17:10:16Z"
      },
      "from_name": "Adam Cooke",
      "from_address": "adamcooke2011@gmail.com",
      "minutes_since_reply_due": null,
      "minutes_since_resolution_due": null,
      "minutes_since_submission": "0.01",
      "minutes_since_last_reply": null,
      "signature_text": null,
      "stripped_content": null,
      "authenticated": false,
      "message_id": "CAHV=tP7kjtbWArFdZ_L1_zTwKhU=uC-ASDat13uFGogbucCv-g@mail.gmail.com",
      "attachments": [],
      "source": null,
      "notification_sent": null,
      "delivered": null
  },
  {
      "id": 2,
      "subject": "Re: blah blah",
      "message": "blah blah",
      "html_body": "blah blah",
      "html_safe": false,
      "private": false,
      "posted_at": "2013-03-14T17:10:18Z",
      "avatar_url": "https://secure.gravatar.com/avatar/a98ec57bf00fab2e1140da0ac6ed3b4d?rating=PG&size={{size}}&d=mm",
      "author": {
          "type": "Customer",
          "id": 4,
          "reference": "",
          "name": "Adam Cooke",
          "abbreviated_name": "Adam C",
          "company": "",
          "mail_format": "both",
          "pin": "703133",
          "created_at": "2013-03-14T17:10:16Z"
      },
      "from_name": "Adam Cooke",
      "from_address": "adamcooke2011@gmail.com",
      "minutes_since_reply_due": null,
      "minutes_since_resolution_due": null,
      "minutes_since_submission": "0.02",
      "minutes_since_last_reply": "0.02",
      "signature_text": null,
      "stripped_content": null,
      "authenticated": false,
      "message_id": "CAHV=tP7kjtbWArFdZ_L1_zTwKhU=uC-ASDat13uFGogbucCv-g@mail.gmail.com",
      "attachments": [],
      "source": null,
      "notification_sent": null,
      "delivered": null
  },
  {
      "id": 4,
      "subject": "Re: blah blah",
      "message": "hello Adam - both parts should be present here!",
      "html_body": null,
      "html_safe": false,
      "private": false,
      "posted_at": "2013-03-14T17:10:49Z",
      "avatar_url": "https://secure.gravatar.com/avatar/a69d1bf6a03f0b1b21b319f266c90dde?rating=PG&size={{size}}&d=mm",
      "author": {
          "type": "User",
          "id": 1,
          "username": "adam",
          "first_name": "Adam",
          "last_name": "Cooke",
          "job_title": null,
          "avatar_url": "https://secure.gravatar.com/avatar/a69d1bf6a03f0b1b21b319f266c90dde?rating=PG&size={{size}}&d=mm"
      },
      "from_name": "Adam Cooke",
      "from_address": "adam@atechmedia.com",
      "minutes_since_reply_due": null,
      "minutes_since_resolution_due": null,
      "minutes_since_submission": "0.54",
      "minutes_since_last_reply": "0.52",
      "signature_text": null,
      "stripped_content": null,
      "authenticated": false,
      "message_id": "5142049a3eb22_c0813fe910435ad81196f@adam-mbp.local.mail",
      "attachments": [],
      "source": null,
      "notification_sent": true,
      "delivered": null,
      "outgoing": {
          "id": 2,
          "address": "adamdev@email2.sirportly.com",
          "name": "Codebase Support Team",
          "allow_outbound": true,
          "subject_prefix": null,
          "send_as_user": false,
          "test_enabled": true,
          "type": "IncomingAddress"
      }
  }
]

Proudly powered by Katapult. Running on 100% renewable energy.