v1

latestOpenAPI 3.1.02026-07-26294215839.4 KB
Public API
Hours

Update Hour Record

Edits an existing hour record by timeTrackingId.

OAuth Scopes: time_tracking.write

put/api/v1/timetracking/adjust

Request body

timeTrackingIdstring required

The time tracking id is the id that was used to track the record up to 36 characters in length. (i.e. UUID).

hoursWorkednumber required

The updated number of hours worked. e.g. if Employee A worked 8.0 hours originally and decided they only worked 6.0, please send 6.0 here not -2.0.

projectIdinteger nullable

ID of the project associated with this time tracking record

taskIdinteger nullable

ID of the task associated with this time tracking record

shiftDifferentialIdinteger nullable

ID of the shift differential associated with this time tracking record

holidayIdinteger nullable

ID of the holiday associated with this time tracking record

Example request

{
  "timeTrackingId": "550e8400-e29b-41d4-a716-446655440000",
  "hoursWorked": 6,
  "projectId": 123,
  "taskId": 456,
  "shiftDifferentialId": 789,
  "holidayId": 101
}

Response

Record updated. Returns the time tracking ID.

idstring

Unique identifier for the time tracking record

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000"
}