api/holidaysquota: Read holiday quotas
With this resource you can read all holiday quota settings. The editing and adding of holiday quotas is currently not possible.
Object type „holidaysquotaRow“
Parameter | Type | Description |
---|---|---|
id | integer | The ID of the holiday quota settings |
users_id | integer | The related employee's ID |
year_since | integer | Year from which on the holiday quota setting apply Format YYYY |
year_until | integer | Year until which the holiday quota setting apply Format YYYY |
count | integer | Count of holidays |
List holiday quotas
GET /api/holidaysquota
Optional parameter | users_id (integer) | Restrict data to this user |
---|
Answer
{ "holidaysquota": { [object of type holidaysquotaRow], [object of type holidaysquotaRow], ... } }
Request single holiday quota setting
GET /api/holidaysquota/[ID]
Antwort
{ "holidaysquotaRow": [object of type targethoursRow] }