Create a planned absence.

Creates one booking for one employee using the same overlap, leave-date, replacement,
entitlement-block, and locking rules as the internal create flow.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean
Defaults to false

Set true to confirm the processed-days warning when replacing absences on already processed days.

Body Params

Create payload.

Request model for create and update absence operations.

boolean

Set true to request override of a hard entitlement balance block when permitted.

replaceAbsenceIds
array of int32s | null

Existing planned-absence IDs to replace when the new booking overlaps them.

replaceAbsenceIds
string
required
length between 0 and 50

Employee identifier to book for.

date
required

Inclusive booking start date.

date
required

Inclusive booking end date.

string
required
length ≥ 1

Absence code.

string
length between 0 and 100

Duration code: FD, 1H, 2H, or C.

int32 | null

Minutes used when QWork.Controllers.Public.PublicPlannedAbsenceController.PublicCreateOrUpdatePlannedAbsenceRequest.DurationCode is C.

double | null

Minutes to apply on non-working days.

string | null

Optional free-text notes.

string | null

Optional shift scope (All, 1, 2, 3, 4).

Headers
string

Tenant identifier from the X-Tenant header.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json