Create a clock card

Creates a work record from an existing employee and work shift.
The shift supplies the start time and earliest-start/latest-finish window.
A shift without a start-work time is rejected.

Duplicate employee/date/shift-start records are rejected, not upserted.
A date before the employee's start date or after their leave date is rejected.
The existing employee rebuild lock and transactional slot lock protect creation.

The record is calculated after its insert commits. A successful insert returns
200 even if calculation fails: inspect hoursCalculated and calculationMessage.
Do not retry creation merely because hoursCalculated is false.

Requires Clock Card edit and insert-work-record permission.

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

Employee, work date, and shift.

Payload for a new employee/date/shift work record.

string
required
length between 0 and 50

The existing employee identifier.

date
required

The work date, in yyyy-MM-dd format.

int32
1 to 2147483647

The existing work shift identifier.

Headers
string

Your tenant identifier, 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