The user is only allowed to edit time entries they have permissions for.
Returns MultiStatus. Includes the list of successfully changed, not found, unauthorized, and invalid time entry ids.
Returns BadRequest if the validation of the form fails, f.e. the new type of work cannot be found.
Supported Operations:
delete: Deletes all time entries. Only admins can delete already billed time entries.
setTypeOfWork: Changes the type of work for a list of time entries. TODO: check if only admins should be able to change
for billed.
setIsBillable: Changes the billability for a list of time entries. Already billed time entries can only be changed to
being unbillable by admins. In this case, the IsBilled flag is also set to false.
setIsBilled: Changes the billing status for a list of time entries. Only admins can change the billing status back to
unbilled for already billed time entries.
setProject: Changes the project for a list of time entries. Only admins can change the project for already billed time
entries. Setting the project unsets the previous project and task.
setTask: Changes the task for a list of time entries. Only admins can change the task for already billed time entries.
Setting the task automatically sets the project if that task is a project task.
setUser: Changes the user for a list of time entries. Only admins can change the user for already billed time entries.
Required Permissions
Any authenticated user.