Employee API: added supervisor_id field
about 2 months ago by Public API Support
Added the feature to set/update Employee's Supervisors.
We just added the feature to set/remove Supervisors using the Public API on the
supervisor_id in the request body with the Employee ID value of the supervisor you want to assign.
- If the
supervisor_idfield is not in the request body, the value will not be affected.
- If you want to remove the supervisor of the employee, provide
- If the employee to be assigned as supervisor does not exist, an error response with status 422 will be returned.
- If the supervisor is the same employee that is being updated, an error response with status 422 will be returned.
For more details, check the documentation on how to create or update an employee using the Public API.