TimeTracking
Pauses a running time tracking for a user.
If there is already a paused time tracking nothing happens. If there is no running time tracking, returns NoContent.
<Check title=Required Permissions>The user must be the creator.</Check>
post/users/{userId}/timetracking/pause
Path parameters
userIdstring uuid required
The id of the user. Not required if the me route is used.
Response
OK
Example response
{
"isBillable": true,
"taskId": "123e4567-e89b-12d3-a456-426614174000",
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"note": "I created a first draft for the new sitemap",
"timezone": "Europe/Berlin",
"duration": 8635,
"typeOfWorkId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"updatedBy": "123e4567-e89b-12d3-a456-426614174000",
"typeOfWork": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"tags": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"color": "purple"
}
],
"teams": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
]
},
"task": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"baseType": "projecttask",
"taskStatusId": "123e4567-e89b-12d3-a456-426614174000",
"typeOfWorkId": "123e4567-e89b-12d3-a456-426614174000",
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"projectStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"projectType": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"tags": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"color": "purple"
}
],
"teams": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
],
"hasImage": true,
"createdBy": "123e4567-e89b-12d3-a456-426614174000"
},
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"plannedDuration": 21600,
"taskStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"assignees": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
],
"tags": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"color": "purple"
}
],
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"correlationId": "123e4567-e89b-12d3-a456-426614174000",
"parentId": "123e4567-e89b-12d3-a456-426614174000",
"parentTask": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"projectStatus": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"projectType": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"tags": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Design",
"color": "purple"
}
],
"teams": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
],
"hasImage": true,
"createdBy": "123e4567-e89b-12d3-a456-426614174000"
},
"breaks": [
{
"startDate": "2022-01-01T12:00:00Z",
"duration": 3600,
"endDate": "2022-01-01T13:00:00Z"
}
],
"resourceVersion": 637825154598057900,
"isExternal": true
}