Ticket Counters

This method allows you to receive a full list of counters for a ticket. These are returned in ascending date order.

URL

/api/v2/tickets/counters

Supported Parameters

  • ticket - the reference for the ticket (required)

Example JSON

{
        "id": 9,
        "status": {
            "id": 3,
            "name": "Waiting for Contact",
            "colour": "f27800",
            "status_type": 2
        },
        "starts_at": "2013-03-08T09:58:27Z",
        "ends_at": "2013-03-08T09:58:33Z",
        "minutes": "0.11"
    },
    {
        "id": 10,
        "status": {
            "id": 4,
            "name": "Resolved",
            "colour": "9c9c9c",
            "status_type": 1
        },
        "starts_at": "2013-03-08T09:58:33Z",
        "ends_at": "2013-03-08T10:03:26Z",
        "minutes": "4.89"
    },
    {
        "id": 11,
        "status": {
            "id": 1,
            "name": "New",
            "colour": "77c300",
            "status_type": 0
        },
        "starts_at": "2013-03-08T10:03:26Z",
        "ends_at": "2013-03-08T10:03:34Z",
        "minutes": "0.14"
    },
    {
        "id": 12,
        "status": {
            "id": 2,
            "name": "Waiting for Staff",
            "colour": "00a9da",
            "status_type": 0
        },
        "starts_at": "2013-03-08T10:03:34Z",
        "ends_at": "2013-03-08T10:03:40Z",
        "minutes": "0.11"
    },
    {
        "id": 13,
        "status": {
            "id": 4,
            "name": "Resolved",
            "colour": "9c9c9c",
            "status_type": 1
        },
        "starts_at": "2013-03-08T10:03:40Z",
        "ends_at": "2013-03-08T10:26:01Z",
        "minutes": "22.36"
    },
    {
        "id": 14,
        "status": {
            "id": 3,
            "name": "Waiting for Contact",
            "colour": "f27800",
            "status_type": 2
        },
        "starts_at": "2013-03-08T10:26:01Z",
        "ends_at": "2013-03-08T10:26:09Z",
        "minutes": "0.14"
    },
    {
        "id": 15,
        "status": {
            "id": 1,
            "name": "New",
            "colour": "77c300",
            "status_type": 0
        },
        "starts_at": "2013-03-08T10:26:09Z",
        "ends_at": "2013-03-08T10:26:11Z",
        "minutes": "0.03"
    },
    {
        "id": 16,
        "status": {
            "id": 4,
            "name": "Resolved",
            "colour": "9c9c9c",
            "status_type": 1
        },
        "starts_at": "2013-03-08T10:26:11Z",
        "ends_at": null,
        "minutes": null
    }
]

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