1. The forum you are viewing relates to Kayako Classic. If you signed up or upgraded to the new Kayako (after the 4th July 2016), the information in this thread may not apply to you or to your Kayako. You can visit the forums for the new Kayako here.

How do you get the ticket count for a specfic department with the API

Discussion in 'Developing, APIs and extending' started by scrupul0us, Jun 28, 2012.

  1. scrupul0us

    scrupul0us Member

    I'm using the following:

    /api/index.php?/Tickets/TicketCount/GetList&apikey='.$apiKey.'&salt='.$salt.'&signature='.$encodedSignature

    ...and that returns data for every department.

    I tried changing to:

    /api/index.php?/Tickets/TicketCount/Get?department%20id[]=1&department%20id[]=2&apikey='.$apiKey.'&salt='.$salt.'&signature='.$encodedSignature

    and I get a fusion error.

    The API docs don't have any good samples so any help would be appreciated =)
     
  2. Tomasz Sawicki

    Tomasz Sawicki Established Member

    There is no way to get only a specific department statistics. You must analyze the output of GET /Tickets/TicketCount to find department which interests you.
     
  3. Archit Agarwal

    Archit Agarwal New Member

Share This Page