Manager_Subordinate.getSubordinatesForRoleBasedForManager(String managerId,String role)
This method allows you to get the subordinates of a roles based manager from the system.
- managerId : The string type mandatory argument for manager id.
- role: The string type mandatory argument for the role for which you want to get the subordinates.
Returns a json string with information of subordinates for the role based manager.
- Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
- InvalidRole: If role is invalid
Click on each of these links to know more about them: