Saltar al contenido principal

Update time entry

PATCH 

/api/v1/time_entries/:id

Update an existing time entry by id; every field in the parameters is optional and only supplied fields change. Authorization is re-checked after attributes are assigned, so moving the entry to a time card in another company is forbidden (403). If the change would push categorized allocation minutes past the time card's worked minutes, the request returns 422 unless confirm_allocation_conflict is sent true. The feature-allocation cap is enforced, and because a persisted feature_ids= writes its join rows immediately, a rejected save rolls them back within the enclosing transaction.

Required scope:

time_entries:update

Request

Responses

Success