Feature: Read the contingents of an employee
Description
get (GET /, query year, default the current leave
year) lists for each active leave type that has a contingent for the employee its unit, amount, used and
remaining, which is never below 0 while used stays exact. Employees read their own, managers those of their
reports and HR all of them; anybody else receives 404. preview returns contingent with
approved, the unit, the amount and the amounts remaining before and after the request, and reserves nothing;
the property is null for a type without a contingent.
Impact
Clients that ignore the new property and operation are not affected.