Sirportly

Toggle Menu

Checklist Status/Details

This method will provide details about the checklist assigned to a ticket along with it's current items.

URL

/api/v2/checklists/items

Access

This method can be accessed by all account tokens and by user tokens where the user has access to the ticket.

Supported Parameters

  • ticket - the ticket reference you wish to remove it's checklist from (required)

Example JSON

{
    "checklist": {
        "id": 1,
        "name": "My Check List",
        "in_order": true,
        "items": [
            {
                "id": 1,
                "position": 1,
                "name": "Question #1",
                "text": "La la la"
            },
            {
                "id": 2,
                "position": 2,
                "name": "Question #2",
                "text": "Boobies!"
            },
            {
                "id": 3,
                "position": 3,
                "name": "Question #3",
                "text": "Blah blah blah blah"
            }
        ]
    },
    "items": [
        {
            "id": 7,
            "checklist_item_id": 1,
            "position": 1,
            "name": "Question #1",
            "checked": false,
            "user": {
                "id": 1,
                "username": "adam",
                "first_name": "Adam",
                "last_name": "Cooke",
                "job_title": "",
                "avatar_url": "https://secure.gravatar.com/avatar/a69d1bf6a03f0b1b21b319f266c90dde?rating=PG&size={{size}}&d=mm"
            },
            "updated_at": "2013-03-06T22:29:59Z"
        },
        {
            "id": 8,
            "checklist_item_id": 2,
            "position": 2,
            "name": "Question #2",
            "checked": false,
            "user": null,
            "updated_at": "2013-03-06T22:13:42Z"
        },
        {
            "id": 9,
            "checklist_item_id": 3,
            "position": 3,
            "name": "Question #3",
            "checked": false,
            "user": null,
            "updated_at": "2013-03-06T22:13:42Z"
        }
    ]
}