Update a worked hours code

Updates the supplied fields of an existing worked 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 work records, rules and
scripts reference it by string. Rename codes in the app, which checks for usages first.

Changes such as multiplier or payable 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 worked hours code to update.

Body Params

Fields to change.

Payload to update a worked 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: #10b981.

boolean | null

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

boolean | null

Whether hours on this code are paid. Create default: true.

boolean | null

Whether hours count as working time for WTD limits. Create default: false.

boolean | null

Whether this is a standard (non-premium) hours code. Create default: false.

boolean | null

Whether hours count toward the flexi balance. 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