Ticket Timers

#Ticket Timers

URL

/api/v2/tickets/timers

Supported Parameters

  • ticket - the reference for the ticket (required)
  • status - can send 'active' to only return active timers (optional)

Example JSON

[
    {
        "id": 34,
        "timer": {
            "id": 13,
            "name": "Resolve in 30 minutes",
            "length": 30,
            "schedule": {
                "id": 2,
                "name": "24/7",
                "time_zone": "Mazatlan",
                "time_offset": -25200
            },
            "repeat_times": 0,
            "repeat_interval": 10
        },
        "countdown_to": "2013-03-12T18:45:26Z",
        "status": "running",
        "trigger": {
            "at": "2013-03-12T18:45:26Z",
            "times": 0
        },
        "times": {
            "started": "2013-03-12T18:13:34Z",
            "stopped": null,
            "paused": null,
            "unpaused": "2013-03-12T18:17:25Z"
        },
        "elapsed_minutes": "1.99",
        "duration": 30
    },
    {
        "id": 37,
        "timer": {
            "id": 12,
            "name": "Reply in 5 minutes",
            "length": 5,
            "schedule": {
                "id": 1,
                "name": "Working Hours",
                "time_zone": "London",
                "time_offset": 0
            },
            "repeat_times": 0,
            "repeat_interval": 10
        },
        "countdown_to": "2013-03-13T09:05:00Z",
        "status": "running",
        "trigger": {
            "at": "2013-03-13T09:05:00Z",
            "times": 0
        },
        "times": {
            "started": "2013-03-12T18:16:03Z",
            "stopped": null,
            "paused": null,
            "unpaused": null
        },
        "elapsed_minutes": "0.0",
        "duration": 5
    }
]

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