post https://api.timeero.app/api/public/timesheets/clock-in
user_id required | integer | The ID of the user |
job_id required(when "Require all users to select a job to clock in" turned on) | integer | The ID of the job |
task_id nullable | integer | The ID of the job |
clock_in_time required | string | Clock in time in this format: YYYY-MM-DDThh:mm:ss. Time should reflect the user's local time at clockin. |
timezone optional | string | Clock in Timezone, default is company's timezone |
longitude | double | longitude of clockin point |
latitude | double | latitude of clockin point |
Request Body Sample:
{
"user_id": 1,
"job_id": 5102,
"task_id": null,
"clock_in_time": "2024-07-30T11:23:36",
"timezone": "Europe/Stockholm",
"longitude": "-85.99315705239339",
"latitude": 41.67841742199773
}