Your browser is not up to date. This may cause security, speed, and display
issues. Please update your browser.
Update Browser
X
Feel free to use our updated API documentation.
| 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|null |
Year until which the holiday quota setting apply
Format YYYY
|
| count | float (only full and half values allowed) |
Count of holidays
|
GET /api/holidaysquota
| Optional parameter | users_id (integer) |
Restrict data to this user
|
|---|
{
"holidaysquota":
{
[object of type holidaysquotaRow],
[object of type holidaysquotaRow],
...
}
}GET /api/holidaysquota/[ID]
{
"holidaysquotaRow": [object of type holidaysquotaRow]
}POST /api/holidaysquota
| Required parameters | users_id, year_since, count |
|---|
| Optional parameters | year_until |
|---|
{
"holidaysquotaRow": [object of type holidaysquotaRow]
}PUT /api/holidaysquota/[ID]
| Optional parameters | year_since, year_until, count |
|---|
{
"holidaysquotaRow": [object of type holidaysquotaRow]
}DELETE /api/holidaysquota/[ID]
{
"success": true
}