Absences
Create part-time absence for employee
Changed onpost/v2/schedule/groups/{groupId}/absences/part-time
Request
- Base URLhttps://api.quinyx.com
- AuthOAuth 2Client credentialsToken URL/oauth/tokenScopesintegration.absence:create
- TypeScripthttps://skmtc.dev/quinyx/apis/quinyx-api/docs/v2/schedule/groups/:groupId/absences/part-time/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
groupIdinteger required
Query parameters
overlapAbsencesboolean
ignoreOverridableValidationsboolean
absenceRatenumber double required
absenceRateDirection'FROM_START' | 'FROM_END' | 'WHOLE_SHIFT' required
splitType'DAY' | 'SHIFT' required
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 part-time 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