v3

latestOpenAPI 3.1.02026-07-31144319609.5 KB
Absence

post/v4/absences

Request body

date_sincestring date required
date_untilstring date nullable
type1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 required

Possible values:

  • 1: Holiday from the quota
  • 2: Special leaves
  • 3: Reduction of overtime
  • 4: Sick day
  • 5: Sick day of a child
  • 6: School / further education
  • 7: Maternity protection
  • 8: Home office (planned hours get applied)
  • 9: Work out of office (planned hours get applied)
  • 10: Special leaves (unpaid)
  • 11: Sick day (unpaid)
  • 12: Sick day of a child (unpaid)
  • 13: Quarantine (work not possible)
  • 14: Military / alternative service
  • 15: Sick day (sickness benefit)
half_dayboolean
count_hoursnumber float nullable
users_idinteger
allow_overrideinteger[]

IDs of absences that may be shortened or deleted to avoid conflicts

status0 | 1 | 2 | 3 | 4

Possible values:

  • 0: Enquired
  • 1: Approved
  • 2: Declined
  • 3: ApprovalCancelled
  • 4: Cancelled
sick_noteboolean
notestring nullable
public_notestring nullable

Example request

{
  "date_since": "2023-02-28",
  "date_until": "2023-02-28"
}

Response

Successful operation