Return all day off recorded for given year, for everybody the caller may read. Admins get them all, managers and supervisors get the ones of the team of their productions, the latter without description, everybody else gets their own only.
GET
/data/persons/day-offs/{year}
curl \
--request GET 'http://api.example.com/data/persons/day-offs/2022' \
--header "Authorization: $API_KEY"
Response examples (200)
[
{}
]