Update the work schedule section for a given employee id.

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 weeklyDays field 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.
Language
URL
Click Try It! to start a request and see the response here!