Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

List Time Off

GET /tenants/{tenant}/time-off

Time off overlapping the optional window (startDate to endDate, inclusive), latest first. Pass userCode for one member. Without it, everyone's for a caller with Time Off ViewAll, otherwise the caller's own. Asking for someone else's without the permission is a 403.

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

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

startDate query string (date)
endDate query string (date)
userCode query string

Responses

200 OK
401 Unauthorized – Invalid or missing API key
403 Forbidden
404 Not Found

Try it