Create an additional value code

Creates a new additional value code. Only code is required; omitted fields take the
defaults documented on each field, which match a new code created in the app.

The request is refused with 409 if an additional value code with the same code already
exists (case-insensitive). Concurrent API requests for the same code are serialised so only one
can succeed. An audit entry is written.

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

The new additional value code.

Payload to create an additional value code.

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

Multiplier applied to numeric values, 0 to 1000, at most two decimal places. Create default: 1.

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

Display colour as #RRGGBB. Create default: #8b5cf6.

boolean | null

Whether the value is shown on the clock card by default. Create default: false.

string | null

Kind of value stored: Boolean, Date, Numeric or Text (case-insensitive).
Create default: Text.

string
required
length between 0 and 100

The new code string. Required, 1-100 characters after trimming. Must not already exist as an
additional value code (case-insensitive). Cannot be changed through this API once created.

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