.. include:: /Includes.rst.txt .. _feature-1792984525: =================================== Feature: API of the school calendar =================================== Description =========== HR keeps the school calendar of an employee through the API: ``getSchoolCalendar`` returns the days of a range as school day, school-free day or no school with the credit the rules give, and the schedules, school-free periods and exceptions of single dates are listed, created, changed and deleted under ``/employees/{employeeId}/school-schedules``, ``school-free-periods`` and ``school-day-overrides``. A schedule that starts while an open-ended one runs ends that one the day before; any other overlap is refused with ``school-schedule-overlap``. The person, their manager in scope and HR read the calendar; only HR writes. Every change publishes ``DayCreditsChanged``, so attendance days follow. Impact ====== New operations of the apprenticeship package; nothing changes for installations without it. .. index:: API, package:adsum-apprenticeship