Update an absence hours code

Updates the supplied fields of an existing absence hours code. Omitted or null fields keep
their stored value. At least one field must be supplied.

The code string itself cannot be changed through the API, because planned absences, work records,
rules and scripts reference it by string. Rename codes in the app, which checks for usages first.

Changes apply to future calculations; records that have already been processed are not
recalculated. An audit entry is written.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Identifier of the absence hours code to update.

Body Params

Fields to change.

Payload to update an absence hours code. Only supplied fields change; the code string cannot be changed.

string | null

Human-readable description. Create default: empty.

string | null

Code sent to payroll and reporting exports. Create default: empty.

double | null
0 to 1000

Pay multiplier, 0 to 1000, at most two decimal places. Create default: 1.

string | null
^#[0-9A-Fa-f]{6}$

Display colour as #RRGGBB. Create default: #3b82f6.

boolean | null

Whether the code is available for new absences. Create default: true.

boolean | null

Whether absence on this code is paid. Create default: true.

boolean | null

Whether a day counts as a full-day absence for WTD rules. Create default: false.

boolean | null

Whether hours count toward Group Planner hours totals. Create default: true.

Headers
string

Your tenant identifier (the subdomain of your Quantum Works URL), passed via 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