Create Update Agent

URL: api/admin/agent Method: POST Description : Creates or Updates a agent/admin Parameters: Parameter Type Optional/Required Description email string Required Agent’s email user_name string Required Agent’s user_name first_name string Required Agent’s first_name last_name string Optional Agents last_name type_ids array Optional Ticket type ids ext integer Optional Agent’s extension phone_number integer Optional Agent’s phone_number country_code integer Optional […]

Read More

Edit Agent/Admin

URL: api/admin/agent/{agent_id} Method: GET Description : Fetches existing Agent/Admin data Parameters: Parameter Type Optional/Required Description agent_id integer Required Agent/Admin id Success Response : {  “success”: true,  “data”: { “agent”: [   {     “id”: 99,     “first_name”: “Krishna”,     “last_name”: “Vishwakarma”,     “user_name”: “krishna”,     “location”: “bangalore”,     “role”: “agent”,     “email”: “krishna@faveo.com”,     “ext”: […]

Read More

Get Agent/Admin

URL: 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”: […]

Read More

Change Agent/Admin Property

URL: 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 […]

Read More

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. […]

Read More

Tickets Type Count User

URL: 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  } }  

Read More

Get Teams List

URL: 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”: […]

Read More

Create Update Team

URL: 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” }   […]

Read More

Edit Team

URL: 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 […]

Read More

Get Team Agents

URL: 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, […]

Read More