Get Logged In Agent Information

URL: api/agent-info Method: GET Description : Fetches logged in agent/admin information 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”: “080”,     “country_code”: 91,     “mobile”: “9853453453”,     “phone_number”: […]

Read More

Form Group

URL : api/post-form-group Method : POST Query Parameters : None Body Parameters :   Parameter Type Possible values Optional/Required Description name string Required Name of the form group form-fields array Array of objects Required Form fields which are updated or newly created. Please read below for detailed explanation help_topic_ids array Optional array of help topic […]

Read More

Create Update Department

URL: api/admin/department/ Method: POST Description : Creates or Updates a department Parameters: Parameter Type Optional/Required Description name string Required Department name type_id integer Required 0 or 1, public = 1, private = 0 outgoing_email_id integer Optional Email id business_hour_id integer Optional Business Hour id department_sign string Optional Department Sign manager_ids integer Optional Agent or Admin […]

Read More

Edit Department

URL: api/admin/department/{id} Method: GET Description : Fetches existing department data Parameters: Parameter Type Optional/Required Description id integer Required Department id Success Response : {  “success”: true,  “data”: {    “department”: {      “id”: 1,      “name”: “support”,      “type”: {        “id”: 1,        “name”: “Public”      },      “department_sign”: “Faveo”,      “is_default”: 0,      “created_at”: “2018-11-16 06:43:39”,      “updated_at”: “2018-11-16 07:00:46”,      “managers”: [        {          “id”: […]

Read More

Get Department Agents

URL: api/admin/department-agents/ Method: GET Description : Gets department members by passing department id, otherwise all active admins and agents are listed for making manager. Parameters: Parameter Type Optional/Required Description id integer Optional Department id search_query string Optional String to be searched Success Response without departmentId : {  “success”: true,  “data”: {    “members”: [     { […]

Read More

Delete Department

URL: api/admin/delete-department/{id} Method: DELETE Description : Delete a department. Parameters: Parameter Type Optional/Required Description id integer Required Department id of the department to be deleted. Success Response : { “success”:true, “Message”:”Department deleted successfully” } OR { “success”:true, “Message”:{ “tickets”:”Department : London Hoppe, Tickets have been                                                                                                                                                                                                                                         moved to default department”, “users”:”Department : London Hoppe, Users have […]

Read More

Get Departments List

URL: api/admin/departments-list/ Method: GET Description : Fetches existing departments and provides search support Parameters: Parameter Type Optional/Required Description search_query string Optional String that is required to be searched. limit integer Optional No.  of records to be fetched. sort_order string Optional Records to be ordered in asc or desc. sort_field string Optional Department attribute based on […]

Read More

Get Department Profile

URL: api/admin/department-profile/{id} Method: GET Description : Gets  department profile Parameters: Parameter Type Optional/Required Description id integer Required Department id Success Response without business hours : {  “success”: true,  “data”: {    “department”: {      “id”: 1,      “name”: “support”,      “size”: 2     }  } } Success Response with business hours : {  “success”: true,  “data”: {    “department”: {      “id”: […]

Read More

Get Department Managers

URL: api/admin/department-managers/{id} Method: GET Description : Get  department managers by passing department id Parameters: Parameter Type Optional/Required Description id integer Required Department id Success Response : {  “success”: true,  “data”: {    “managers”: [     {         “id”: 1,                                “email”: “mr.dmartin1984@gmail.com”,                                “profile_pic”: “https://secure.gravatar.com/avatar/bf6373b?s=8&d=identicon”,                                “name”: “Demo Admin”                          }         ]   } } OR {  “success”: true,  “data”: { […]

Read More

Get Department Member

URL: api/admin/department-members/{id} Method: GET Description : Get  department members by passing department id Parameters: Parameter Type Optional/Required Description id integer Required Department id to fetch it’s department members. search_query string Optional String that is required to be searched. limit integer Optional No.  of records to be fetched. sort_order string Optional Records to be ordered in […]

Read More