Leaves
List leaves
Retrieve a list of approved leaves for one or several users on a given period.
The leavePeriod.ownerId
query parameter is required ans is used to:
- retrieve Leaves of a specific user:
?leavePeriod.ownerId=5
- retrieve Leaves of several users:
?leavePeriod.ownerId=5,6
- retrieve Leaves of a specific group of users:
?leavePeriod.owner.departmentId=3
The date
query parameter can operate comparisons with a given date-time value:
?date=2021-01-01
: strict equality.?date=since,2021-01-01
: greater than or equal.?date=until,2021-01-01
: lower than or equal.?date=between,2021-01-01,2021-01-31
: comprised between two dates.
GET
/
api
/
v3
/
leaves
Query Parameters
paging
string
required{offset},{limit}. Defaults to 0,1000.
leaveAccountId
string
leavePeriod.ownerId
any[]
requiredEmployee's identifier
date
string
required{comparator},{date-time}
Response
200 - application/json
data
object
Was this page helpful?