time-entries

Update Time Entry

Update an existing time entry.

Updates a time entry with the provided fields. Only provided fields will be updated. Released time entries cannot be edited. The response is the cursor-sync wire DTO of the row.

patch/v1/time-entries/{time_entry_id}

Request

  • Base URL
    https://app.tokumalabs.com/api
  • Auth
    OAuth 2
    Password
    Token URL: v1/auth/token

Path parameters

time_entry_idinteger required

ID of the time entry to update

Request body

narrativestring nullable

Description of the work performed

activity_codestring nullable

Activity code for the work

segment_idstring nullable

Segment ID to associate with this time entry

is_billableboolean nullable

Whether the time entry is billable

legal_time_minutesinteger nullable

Legal time in minutes, snapped to the matter's billing increment before it is stored. Sending an explicit null is the 'use tracked time' action: it clears the typed figure and returns the entry to a computed legal time. Refused with TIME_ENTRY_NO_BLOCKS on an entry with no live time blocks.

acknowledge_legal_time_resnapboolean

Clear the flag that a move re-rounded this entry's typed legal time, keeping the figure as it stands. The lawyer's 'yes, that is fine' — it settles the note without changing any number

Response

Successful Response

idinteger required
organization_idstring required
user_idstring required
datestring date required
legal_time_minutesinteger required
legal_time_is_computedboolean required
tracked_duration_minutesinteger required
narrativestring nullable required
narrative_suggestionsstring[] nullable
activity_codestring nullable
segment_idstring nullable
is_billableboolean required
legal_time_pinnedboolean required
legal_time_resnapped_frominteger nullable
is_user_createdboolean required
created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time nullable
versioninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.