get
https://api-sandbox.seamlesshr.app/v1/employees/direct-reports
Direct Report Endpoint
This endpoint retrieves an employee's direct reports. It requires either an email or an employee_code to identify the employee.
Parameters
email(string, optional) - The email address of the employeeemployee_code(string, optional) - The employee code/ID of the employee
Note: At least one of email or employee_code must be provided.
Response
Returns a list of direct reports for the specified employee.
