getSubordinatesForRelationshipBasedManager

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

Manager_Subordinate.getSubordinatesForRelationshipBasedManager(String managerId,String relationShipType)

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

Arguments
  • managerId : The string type mandatory argument for manager id.
  • RelationShipType: The string type mandatory argument for the relationship type for which you want to get the subordinates.
Returns

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

Errors
  • Unauthorized Access: If access is not allowed to the employee whose apiKey is passedIn
  • InvalidRelationship: If relationship type is invalid

Object Methods

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

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