put
https://sandbox-api.kenjo.io/api/v1/employees//work-schedules
This endpoint updates the employee work schedule section for a given employee id. The operation only updates the fields provided in the body.
Automatic recalculation:
- If any working day field (mondayWorkingDay, ..., sundayWorkingDay) is modified, the system automatically recalculates and updates the employee's
weeklyDaysfield in the work section based on the total number of TRUE values. - This ensures consistency between the work schedule configuration and the contracted weekly days count.
