Skip to main content
POST
Clock on to a job, as the caller's own worker or, lacking one, as the caller's own account.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Clock on to a job, as the caller's own worker or, lacking one, as the caller's own account. Refused while somebody else is already checked in on this job: a job carries one open segment at a time, whoever holds it (ux_work_order_time_open_per_job), so check that person out, or wait for them to check out, first. Nothing here counts the caller's other jobs — one person may be clocked onto several at once, and the segments may overlap in time.

p_work_order_id
string<uuid>
required
p_client_operation_id
string<uuid>
p_device_id
string<uuid>
p_entry_type
string<text>
p_notes
string<text>
p_rate_type
string<text>
p_started_at
string<timestamp with time zone>
p_worker_id
string<uuid>

Response

200

OK