URL: v3/api/admin/get-agent/{agentId} Method: GET Description : Fetches existing Agent/Admin data Parameters: Parameter Type Optional/Required Description agentId integer Required Agent/Admin id Success Response : { “success”: true, “data”: { “agent”: [ { “id”: 101, “user_name”: “krishna”, “role”: “agent”, “email”: “krishna@faveo.com”, “profile_pic”: “https://secure.gravatar.com/avatar/d15e173f92f94fd80a5ef7773a19b25e?s=80&r=g&d=identicon”, “ext”: “080”, “country_code”: 91, “mobile”: […]
Category: Admin Panel
Change Agent/Admin Property
URL: v3/api/admin/change-agent/{agent_id} Method: GET Description : Fetches existing Agent/Admin data to change role, password, active field. Parameters: Parameter Type Optional/Required Description agent_id integer Required Agent/Admin id email string Optional Agent/Admin changed email role string Optional Agent/Admin changed role password String Optional Agent/Admin changed password active integer Optional Agent/Admin activate/deactivate Success Response : { “success”:true, “Message”:”Email […]
Get User’s List
URL: api/admin/get-users-list Method: GET Description : Fetches list of users Parameters: Parameter Type Optional/Required Description search-query string Optional Search Query sort-order string Optional ‘asc’ or ‘desc’ sort-field string Optional User’s field based on which sorting will be done. By default, it is set to id. limit integer Optional Number of records needed in a page. […]
Tickets Type Count User
URL: v3/api/admin/ticket-count-user Method: GET Description : Gets ticket count for ticket types inbox, closed, deleted, unapproved Parameters: Parameter Type Optional/Required Description user-id integer Required user id to get tickets count Success Response : { “success”: true, “data”: { “inbox”: 1, “closed”: 3, “deleted”: 7, “unapproved”: 6 } }
Get Teams List
URL: v3/api/admin/team Method: GET Description : Gets existing team list Parameters: Parameter Type Optional/Required Description search_query string Optional Team name, team_lead, status value sort_field string Optional Sort_field could be name or status sort_order string Optional Either ‘asc’ or ‘desc’ limit integer Optional No. of records in a page Success Response : { “success”: true, “data”: […]
Create Update Team
URL: v3/api/admin/team Method: POST Description : Creates or updates a team Parameters: Parameter Type Optional/Required Description name string Required Team name status string Optional Status could be active or deactive admin_notes string Optional notes team_lead integer Optional Admin or agent id or team members id Success Response : { “success”:true, “message”:”Team saved successfully” } […]
Edit Team
URL: v3/api/admin/team/{teamId} Method: GET Description : Fetches existing team data Parameters: Parameter Type Optional/Required Description teamId integer Required Team id Success Response : { “success”: true, “data”: { “team”: { “id”: 2, “name”: “Level 2 Support”, “status”: { “id”: 1, “name”: “Active” }, “team_lead”: { “id”: 3, “name”: “Ashley Knite”, “profile_pic”: “http://faveo-helpdesk-advance/public/lb-faveo/media/images/contacthea.png” }, “admin_notes”: “close […]
Get Team Agents
URL: v3/api/admin/team-agents Method: GET Description : Fetches existing team data Parameters: Parameter Type Optional/Required Description teamId integer Required Team id Success Response : { “success”: true, “data”: { “members”: [ { “id”: 3, “email”: “ashley@faveo.com”, “profile_pic”: “http://faveo-helpdesk-advance/public/lb-faveo/media/images/contacthea.png”, “name”: “Ashley Knite” }, { “id”: 4, “email”: “tim@faveo.com”, “profile_pic”: “http://faveo-helpdesk-advance/public/lb-faveo/media/images/contacthea.png”, “name”: “Tim West” }, { “id”: 5, […]
Get Team Profile
URL: v3/api/admin/team-profile/{teamId} Method: GET Description : Fetches existing team profile Parameters: Parameter Type Optional/Required Description teamId integer Required Team id Success Response : { “success”: true, “data”: { “team”: { “id”: 2, “name”: “Level 2 Support”, “status”: { “id”: 1, “name”: “Active” }, “team_lead”: { “id”: 3, “name”: “Ashley Knite” }, “created_at”: “2017-03-29 10:53:25”, “updated_at”: […]
Get Team Members
URL: v3/api/admin/team-members/{teamId} Method: GET Description : Fetches existing team members based on team id Parameters: Parameter Type Optional/Required Description teamId integer Required Team id Success Response : { “success”: true, “data”: { “current_page”: 1, “data”: [ { “id”: 3, “user_name”: “ashley”, “role”: “admin”, “active”: 1, “email_verify”: “1”, “mobile_otp_verify”: “1”, “ban”: 0, “is_delete”: 0, “created_at”: “2017-03-29 […]