URL: api/agent/dashboard-tickets-count

Method: GET

Description : Gets ticket count for inbox, unassigned, overdue, mytickets and due today.

Success Response :

{

 "success": true,

 "data": {

"tickets": [

    {

        "name": "inbox",

        "count": 5,

        "redirect_to": "http://faveo/tickets?show%5B%5D=inbox

&departments%5B%5D=All"

   },

   {

       "name": "unassigned",

       "count": 5,

       "redirect_to": "http://faveo/tickets?show%5B%5D=unassigned

    &departments%5B%5D=All"

   },

   {

       "name": "overdue",

       "count": 0,

      "redirect_to": "http://faveo/tickets?show%5B%5D=overdue

   &departments%5B%5D=All"

  },

  {

      "name": "mytickets",

      "count": 0,

      "redirect_to": "http://faveo/tickets?show%5B%5D=mytickets

   &departments%5B%5D=All"

  },

  {

      "name": "due_today",

      "count": 5,

      "redirect_to": "http://faveo/tickets?show%5B%5D=due_today

   &departments%5B%5D=All"

  }

   ]

 }

}

 

Leave a Reply

Your email address will not be published. Required fields are marked *