getSubordinatesForRoleBasedForManager

Home » Empxtrack Help » API Integration » Employee Objects » Subordinate » getSubordinatesForRoleBasedForManager

Manager_Subordinate.getSubordinatesForRoleBasedForManager(String managerId,String role)

The Manager_Subordinate.getSubordinatesForRoleBasedForManager method allows you to get the subordinates of a roles based manager from the system.

Arguments
  • 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

Returns a json string with information of subordinates for the role based manager.

Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
  • InvalidRole: If role is invalid

Object Methods

Click on each of these links to know more about them: