Set clock card hours for a code

Value is in whole minutes, at most 1440 (24:00). A positive value updates the code's row,
or creates one when none exists.

When the code is held in two or more rows on the clock card the request is refused with
409 and nothing changes: a total has no single meaning there. Use the delete endpoint to
remove all of the code's rows.

Zero removes the code's row. Negative values are rejected by this public
endpoint to avoid interpreting a negative adjustment as deletion.

The existing code visibility, worked/absence edit permissions, entitlement
balance checks, approval reset, exception evaluation, reconciliation, and
entitlement refresh are applied.

A 200 response with reconciliationMessage means the change was saved, but the day's
period totals were not reconciled: reconciliation failed, or no reconciliation period is
configured for the record's date. Do not retry; only the period totals are stale.

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

The work-record identifier.

string
required

The worked-hours or absence-hours code.

Body Params

The value in whole minutes; zero deletes the code's rows.

Whole minutes for the by-code hours operation.

int32
required
0 to 1440

Positive minutes, at most 1440 (24:00), sets the code's row; zero deletes it. A code held in two or more rows is refused with 409 (code-has-several-rows) for any value - edit those rows individually.

Headers
string

Your tenant identifier, passed via the X-Tenant header.

Responses

204

Hours updated or removed and the period reconciled.

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