Create Timelog (Global)

Changed on

Creates a clock-in/clock-out entry for a job or project, identified via query/body rather than a path param — the same underlying handler as the nested /jobs/:job_uid/timelog family, but this global form also supports project timelogs (project_uid) and is the only way to punch for a project. At least one of job_uid/project_uid is required (if both given, the job must belong to that project). Punch sequencing conflicts (e.g. clocking in twice) return 409.

post/timelog

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/timelog
  • Auth
    API key in header x-api-key

Request body

is_offlineboolean
logged_userstring

ADMIN/TL only — punch on behalf of another user.

Response

200

Changes