Create Scoped Work Session
Changed onBackfill a project or work-stream session with explicit timestamps.
The scoped twin of POST /tasks/{task_id}/time-entries, and the only way labour that was never clocked live can reach a project's P&L. Omit clock_out_at to leave the session open.
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Body for POST /work-sessions: backfill a project or work-stream session.
The scoped twin of TaskTimeEntryCreate. scope is constrained to the two non-task values here rather than checked in the service, so a bad value is a 422 naming the field instead of a sentence about an unsupported scope. Omit clock_out_at to leave the session open, same as the task route.
What the hours are attributed to: work_stream or project
Work stream ID or project ID
Personnel ID to log time for
ISO-8601 clock-in timestamp
ISO-8601 clock-out timestamp; omit to leave the session open
Response
Successful Response
Changes
- info
endpoint added
- info