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": "Dept",
                "meta_name": "Dept <dept6@gmail.com>",
                "email_verified": false,
                "mobile_verified": false,
                "pivot": {
                    "department_id": 14,
                    "agent_id": 5
                }
            }
        ]
    }
}

Tagged: