Absences
Create full-time absence for employee
Changed onpost/v2/schedule/groups/{groupId}/absences
Request
- Base URLhttps://api.quinyx.com
- AuthOAuth 2Client credentialsToken URL/oauth/tokenScopesintegration.absence:create
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
groupIdinteger required
Query parameters
overlapAbsencesboolean
ignoreOverridableValidationsboolean
Request body
Example request
{
"absenceTypeId": 1,
"employeeId": 100,
"begin": "2026-01-01T08:00:00",
"end": "2026-01-01T17:00:00",
"absenceScheduleId": 10,
"shiftsInThisPeriod": "UNASSIGN",
"managerComment": "Approved"
}Response
Response created absence details
Example response
{
"id": 1,
"groupId": 100,
"absenceTypeId": 1,
"employeeId": 100,
"begin": "2026-01-01T08:00:00",
"end": "2026-01-01T17:00:00",
"absenceScheduleId": 10,
"shiftsInThisPeriod": "UNASSIGN",
"managerComment": "Approved"
}Changes
- info
the endpoint scheme security
OAuth2ClientCredentialswas added to the API
- info