v1
latestOpenAPI 3.1.1LicenseRef-Proprietary2026-07-1310179223.1 KBTime Off
Update Allocation
Update a time-off allocation's amount or period.
put/allocations/{allocation_id}
Path parameters
allocation_idnumber required
Request body
Example request
{
"startDate": "2019-01-01",
"endDate": "2019-12-31",
"contractStartDate": "2019-03-01",
"users": [
79786,
79787
],
"timeOffType": 16539,
"days": 24,
"daysCarried": 24,
"accrualFrequency": "daily",
"notes": "some notes"
}Response
OK
Example response
{
"id": 876534,
"startDate": "2019-01-01",
"endDate": "2019-12-31",
"contractStartDate": "2019-03-01",
"user": 79786,
"timeOffType": 16539,
"days": 24,
"daysCarried": 24,
"daysAllocated": 6.2,
"daysUsed": 8,
"accrualFrequency": "daily",
"notes": "some notes",
"createdBy": 79562,
"createdAt": "2018-06-01"
}