Absences
Retrieve absences. Either all, for users of a project or a specific user
PARAMETERS
page*
projectKey
userKey
filter
The page of absences you want to retrieve. They are provided in chunks of 25.
The project key of a projec to only retrieve absences for this project's users
A user key of a user to only retrieve absences for this user
A string of a JSON object representing the filter. See below for more information
FILTER OBJECT
{ "userKey": '', "startDate": 'YYYY-MM-DD', "endDate": 'YYYY-MM-DD', "substituteKey": '' }
EXAMPLE RESPONSE
Status Code | Response |
---|---|
200 | The JSON body, see belows example response |
400 | An error occured. You either gave an invalid project/user or don't have the neccesary permissions to view those absences. See the reponse body for additonial information |
Retrieve an absence by its id
PARAMETERS
id*
projectKey
The id of the absence you want to retrieve
The project key of a project for permission checks
EXAMPLE RESPONSE
Status Code | Response |
---|---|
200 | The JSON body, see belows example response |
400 | An error occured. You either gave an invalid project/user or don't have the neccesary permissions to view those absences. See the reponse body for additonial information |
Create or update an absence
PARAMETERS
page*
projectKey
userKey
filter
The page of absences you want to retrieve. They are provided in chunks of 25.
The project key of a projec to only retrieve absences for this project's users
A user key of a user to only retrieve absences for this user
A string of a JSON object representing the filter. See below for more information
FILTER OBJECT
{ "userKey": '', "startDate": 'YYYY-MM-DD', "endDate": 'YYYY-MM-DD', "substituteKey": '' }
EXAMPLE RESPONSE