Overview
This article provides details about the REST - TicketCount API call that Kayako Classic uses.
Information
GET /Tickets/TicketCount
Retrieve a list of counts for different departments, ticket status'es, owners, etc.
Note: API supported in version > v4.01.220
Response
<ticketcount>
<departments>
<department id="2">
<totalitems>1</totalitems>
<lastactivity>1306335569</lastactivity>
<totalunresolveditems>1</totalunresolveditems>
<ticketstatus id="1" lastactivity="1306335569" totalitems="1" />
<tickettype id="0" lastactivity="1306335569" totalitems="1"totalunresolveditems="1" />
<ownerstaff id="0" lastactivity="1306335569" totalitems="1"totalunresolveditems="1" />
</department>
</departments>
<!-- Ticket Count grouped by Status --><statuses><ticketstatus id="1" lastactivity="1306335569" totalitems="1" /></statuses>
<!-- Ticket Count grouped by Owner Staff --><owners><ownerstaff id="0" lastactivity="1306335569" totalitems="1"totalunresolveditems="1" />
</owners><!-- Unassigned Ticket Count grouped by Department -->
<unassigned><department id="1" lastactivity="1306335569" totalitems="1"totalunresolveditems="1" /></unassigned>
</ticketcount>