URL: api/agent/dashboard-report/top-widget

Method: GET

Description : Gets the dashboard ticket widgets

Success Response :


{"success": true,"data": [{"id": "my_tickets","key": "My Tickets","value": 3,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=mytickets","description": null,"icon_class": "fas fa-inbox","icon_color": "#007bff"},{"id": "my_team_tickets","key": "My Team Tickets ","value": 0,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=myteamtickets","description": null,"icon_class": "fas fa-users","icon_color": "#007bff"},{"id": "my_overdue_tickets","key": "My overdue tickets ","value": 3,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=overdue&assignee-ids%5B0%5D=1","description": null,"icon_class": "far fa-calendar-times","icon_color": "#dd4b39"},{"id": "my_due_today_tickets","key": "My due today tickets ","value": 0,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=all&assignee-ids%5B0%5D=1&due-on=next%3A%3A1%7Eday","description": null,"icon_class": "far fa-calendar-times","icon_color": "#f39c12"},{"id": "my_pending_approvals","key": "My pending approvals ","value": 0,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=waiting-for-approval","description": null,"icon_class": "far fa-clock","icon_color": "#00c0ef"},{"id": "open_tickets","key": "Open Tickets","value": 5,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=inbox","description": null,"icon_class": "fas fa-inbox","icon_color": "#007bff"},{"id": "overdue_tickets","key": "Overdue Tickets","value": 5,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=overdue","description": null,"icon_class": "far fa-calendar-times","icon_color": "#dd4b39"},{"id": "unassigned_tickets","key": "Unassigned Tickets ","value": 2,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=unassigned","description": null,"icon_class": "fas fa-user-times","icon_color": "#f39c12"},{"id": "unanswered_tickets","key": "Unanswered Tickets","value": 2,"redirectTo": "https://faveo/public/tickets?show%5B%5D=inbox&departments%5B%5D=All&filter-by-url=1&category=inbox&answered=0","description": null,"icon_class": "fas fa-reply","icon_color": "#00c0ef"}]}