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 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: v3/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