Update time entry

PUT/api/v1/time-entries/{time_entry_id}

Update a time entry. All fields optional.

Operation ID: update_time_entry_api_v1_time_entries__time_entry_id__put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

time_entry_idstringrequired

Request body

entry_datestring · date
duration_minutesinteger
descriptionstring
person_namestring
customer_idstring
project_idstring
catalog_item_idstring
billableboolean
rate_centsinteger
statusstring
is_activeboolean

Responses

200Successful Response

idstringrequired
business_idstringrequired
entry_datestring · daterequired
duration_minutesintegerrequired
descriptionstring
person_namestring
customer_idstring
customer_namestring
project_idstring
project_namestring
catalog_item_idstring
billablebooleanrequired
rate_centsinteger
billable_amountinteger

Computed billable amount in cents.

statusstringrequired
invoice_idstring
is_activebooleanrequired
created_atstring · date-timerequired
updated_atstring · date-timerequired

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject