Records time off over a date range, for the caller or (with Time Off Create) for tenantUserCode. Leave minutesPerDay empty for whole days. Expected hours drop on each of its days. A member's time off can't overlap, and one record covers at most 366 days.
Open to any signed-in user of the tenant: Your own time off needs no permission; anyone else's needs the Time Off permission, checked in the use case
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"tenantUserCode": "string",
"startDate": "2024-01-01",
"endDate": "2024-01-01",
"type": "Holiday",
"minutesPerDay": 1
}
Responses
201 Created
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden
404 Not Found