If there is already a running time tracking nothing happens. If there is no running time tracking, returns NoContent.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
userIdstringRequiredThe id of the user.
Responses
200 OK
application/json
isBillablebooleanOptionalWhether the time tracking is billable or not.
isBilledbooleanOptionalWhether the time tracking is billed or not.
taskIdstring or nullOptionalThe id of the task.
projectIdstring or nullOptionalThe id of the project.
notestring or nullOptionalThe note of the time tracking.
startDateUtcstring or nullOptionalThe date (in UTC) when the time tracking was started.
startTimeUtcstring or nullOptionalThe time (in UTC) when the time tracking was started.
endDateUtcstring or nullOptionalThe date (in UTC) when the time tracking was stopped.
endTimeUtcstring or nullOptionalThe time (in UTC) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
startDateLocalstring or nullOptionalThe date (in Local) when the time tracking was started.
startTimeLocalstring or nullOptionalThe time (in Local) when the time tracking was started.
endDateLocalstring or nullOptionalThe date (in Local) when the time tracking was stopped.
endTimeLocalstring or nullOptionalThe time (in Local) when the time tracking was stopped. Required when the time tracking has already been completed and Duration has not been set.
timezonestringRequired1 The original timezone of the time tracking. The format of the timezone is the IANA standard.
durationinteger or nullOptionalThe duration of the time tracking in seconds. Required when the time tracking has already been completed and EndTime has not been set.
breakDurationinteger or nullOptionalThe duration of the break in seconds. Cannot be set via API.
typeOfWorkIdstringRequiredThe id of the type of work.
userIdstring or nullOptionalThe id of the user. Can be null if the user was deleted.
idstringOptionalThe id of the time tracking.
createdBystringOptionalThe id of the user who created this time tracking.
createdOnstringOptionalThe date this time tracking was created.
updatedBystringOptionalThe id of the user who last updated this time tracking.
updatedOnstringOptionalThe date this time tracking was last modified.
typeOfWorkobjectOptionalShow 4 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
iconstring or nullOptionalThe icon of the type.
isArchivedbooleanOptionalWhether the type is archived.
userobjectOptionalShow 5 properties
idstringOptionalThe identifier of the nested model.
firstNamestring or nullOptionalThe first name of the user.
lastNamestring or nullOptionalThe last name of the user.
hasImageboolean or nullOptionalWhether this user has a profile image.
isExternalbooleanOptionalWhether the user is external.
taskobjectOptionalShow 15 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
baseTypestring or nullOptionalThe base type of the task. Can be 'private' for a private task or 'projecttask' for a project task.
taskIdentifierstring or nullOptionalThe full task identifier combining project key and task number (e.g., "NIKE-42"). Maintained by the service layer, updated when project key changes.
taskStatusIdstringOptionalThe id of the status for this task.
typeOfWorkIdstringOptionalThe id of the type of work of this task.
projectobjectOptionalShow 11 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
projectStatusobjectOptionalShow 5 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
descriptionstring or nullOptionalThe description of the type.
typestring or nullOptionalThe type of the status.
isArchivedbooleanOptionalWhether the type is archived.
companyobjectOptionalShow 4 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
hasImagebooleanOptionalWhether the company has a profile image.
descriptionstring or nullOptionalThe description of the company.
projectTypeobjectOptionalShow 4 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
iconstring or nullOptionalThe icon of the type.
isArchivedbooleanOptionalWhether the type is archived.
projectKeystring or nullOptionalThe unique project key within the workspace (e.g., "NIKE"). Maximum 32 characters, uppercase letters, numbers, and dashes only.
isPrivatebooleanOptionalWhether the project is private.
hasImagebooleanOptionalWhether the project has an image.
isExternalbooleanOptionalWhether the project is external.
isBillableByDefaultboolean or nullOptionalWhether project times should be billable by default.
createdBystringOptionalThe id of the user who created the project.
projectIdstring or nullOptionalThe id of the project this task is assigned to. Only set if this is a project task. In this case, it is equal to the EntityId.
plannedDurationinteger or nullOptionalThe expected planned workload of the task, in seconds.
closedOnstring or nullOptionalThe date the task was set to closed.
taskStatusobjectOptionalShow 6 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
descriptionstring or nullOptionalThe description of the type.
typestring or nullOptionalThe type of the status.
ordernumber or nullOptionalThe order of the task status in a task.
iconstring or nullOptionalThe icon of the task status in a task.
createdBystringOptionalThe id of the user who created this task.
correlationIdstringOptionalThe correlation id between parent and subtasks, meaning it's either the ParentId or its own Id.
parentIdstring or nullOptionalThe id of the parent task this of this subtask. Only set if this is a subtask.
parentTaskobjectOptionalShow 2 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
projectobjectOptionalShow 11 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
projectStatusobjectOptionalShow 5 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
descriptionstring or nullOptionalThe description of the type.
typestring or nullOptionalThe type of the status.
isArchivedbooleanOptionalWhether the type is archived.
companyobjectOptionalShow 4 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
hasImagebooleanOptionalWhether the company has a profile image.
descriptionstring or nullOptionalThe description of the company.
projectTypeobjectOptionalShow 4 properties
idstringOptionalThe identifier of the nested model.
namestring or nullOptionalThe name of the entity.
iconstring or nullOptionalThe icon of the type.
isArchivedbooleanOptionalWhether the type is archived.
projectKeystring or nullOptionalThe unique project key within the workspace (e.g., "NIKE"). Maximum 32 characters, uppercase letters, numbers, and dashes only.
isPrivatebooleanOptionalWhether the project is private.
hasImagebooleanOptionalWhether the project has an image.
isExternalbooleanOptionalWhether the project is external.
isBillableByDefaultboolean or nullOptionalWhether project times should be billable by default.
createdBystringOptionalThe id of the user who created the project.
breaksarray of object or nullOptionalThe breaks of the time tracking.
Show 3 properties
startDatestringOptionalThe start date and time of the break in UTC. Required.
durationinteger or nullOptionalThe duration of the break in seconds. Required when the end date is set. When a time tracking is paused, it has at least one break with a start date and no duration or end date.
endDatestring or nullOptionalThe end date and time of the break in UTC. Required when the duration is set and the break is finished.
resourceVersionintegerOptionalThe version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.
isExternalbooleanOptionalTrue if this entity is coming from an external workspace (awork Connect).