Feature: Read the contingents of an employee 

Description 

getLeaveContingents (GET /api/v1/employees/{id}/leave-contingents, 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. previewLeaveRequest returns contingent with approvedAtOnce, 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.