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": {
   "managers": []
  }

}

 

Leave a Reply

Your email address will not be published. Required fields are marked *