Create Update Department

URL: v3/api/admin/create-update-department Method: POST Description : Creates or Updates a department Parameters:   Parameter Type Optional/Required Description id integer Optional while updating existing department, id is used 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 […]

Read More

Get Department Details

URL: v3/api/admin/edit-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”: 3, “name”: “Operation”, “type_id”: 1, “department_sign”: “”, “is_default”: 1, “statuses”: [], “form_identifier”: “department_3”, “business_hour”: null, “outgoing_email”: null, “managers”: [ { “id”: 4, “first_name”: “Private”, […]

Read More

Get Departments List

URL: v3/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 : { “success”: true, “data”: { “id”: 14, “name”: “Support”, “size”: 1, “business_hour”: { “id”: 1, “name”: “Default Business-Hours” }, “managers”: [ { “id”: 5, “first_name”: “Dept”, “last_name”: “”, “email”: “dept6@gmail.com”, “profile_pic”: “https://secure.gravatar.com/avatar/12e754487fa27bc9092e65f0eb8cb1fc?s=80&r=g&d=mm”, “full_name”: […]

Read More