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 |
|---|---|---|
| users_id | integer |
The related employee's ID
|
| year | integer |
Year for which the holiday carryover applies
Format YYYY
|
| count | float (only full and half values allowed) |
Day count
|
| note | string|null |
Note
|
GET /api/holidayscarry
| Optional parameters | users_id (integer) |
Restrict data to this user
|
|---|---|---|
| year (integrer) |
Restrict data to this year
|
{
"holidayscarry":
{
[object of type holidayscarryRow],
[object of type holidayscarryRow],
...
}
}GET /api/holidayscarry/[USERS_ID]/[YEAR]
{
"holidayscarryRow": [object of type holidayscarryRow]
}POST /api/holidayscarry
| Required parameters | users_id, year, count |
|---|
| Optional parameters | note |
|---|
{
"holidayscarryRow": [object of type holidayscarryRow]
}PUT /api/holidayscarry/[USERS_ID]/[YEAR]
| Optional parameters | count, note |
|---|
{
"holidayscarryRow": [object of type holidayscarryRow]
}DELETE /api/holidayscarry/[USERS_ID]/[YEAR]
{
"success": true
}