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
Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Query Parameters
{offset},{limit}. Defaults to 0,1000.
Example:
"2000,500"
ID of the leave-account the leave must have been taken on.
Employee's identifier
{comparator},{date-time}
Response
200
application/json
OK
Was this page helpful?