Removes all finished breaks of the time entry.

POST

A currently running break is not removed.

Required Permissions: Any authenticated user.

Path parameters

timeEntryIdstringRequired
The id of the time entry.

Response

This endpoint returns an object
timezonestring
The original timezone of the time tracking. The format of the timezone is the IANA standard.
typeOfWorkIdstring
The id of the type of work.
isBillablebooleanOptional
Whether the time tracking is billable or not.
isBilledbooleanOptional
Whether the time tracking is billed or not.
taskIdstringOptional
The id of the task.
projectIdstringOptional
The id of the project.
notestringOptional
The note of the time tracking.
startDateUtcdatetimeOptional
The date (in UTC) when the time tracking was started.
startTimeUtcstringOptional
The time (in UTC) when the time tracking was started.
endDateUtcdatetimeOptional
The date (in UTC) when the time tracking was stopped.
endTimeUtcstringOptional
The time (in UTC) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
startDateLocaldatetimeOptional
The date (in Local) when the time tracking was started.
startTimeLocalstringOptional
The time (in Local) when the time tracking was started.
endDateLocaldatetimeOptional
The date (in Local) when the time tracking was stopped.
endTimeLocalstringOptional
The time (in Local) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
durationintegerOptional
The duration of the time tracking in seconds. Required when the time tracking has already been completed and EndTime has not been set.
breakDurationintegerOptional
The duration of the break in seconds. Cannot be set via API.
userIdstringOptional
The id of the user. Can be null if the user was deleted.
idstringOptional
The id of the time tracking.
createdBystringOptional
The id of the user who created this time tracking.
createdOndatetimeOptional
The date this time tracking was created.
updatedBystringOptional
The id of the user who last updated this time tracking.
updatedOndatetimeOptional
The date this time tracking was last modified.
typeOfWorkobjectOptional
userobjectOptional
taskobjectOptional
projectobjectOptional
breakslist of objectsOptional
The breaks of the time tracking.
resourceVersionlongOptional
The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.
isExternalbooleanOptional
True if this entity is coming from an external workspace (awork Connect).