Returns time entries in the workspace.
Changed onReturns time entries in the workspace. The result includes entries the current user is allowed to view. <Check title="Required Permissions" icon="key">The user must own the time entry or have project-timetracking:read permission for connected project entries.</Check>
Request
- Base URLhttps://api.awork.com/api/v2
- URLhttps://api.awork.com/api/v2/timeentries
- AuthOAuth 2Authorization code: https://api.awork.com/accounts/authorizeToken URL: https://api.awork.com/accounts/token scopes: full_access
Query parameters
Whether to reindex for search.
Page number for pagination
Number of items per page
The properties to order by
The filter expression to filter by
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": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"icon": "thumb_up"
},
"user": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"firstName": "Carla",
"lastName": "Creative",
"hasImage": true
},
"task": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"baseType": "projecttask",
"taskStatusId": "123e4567-e89b-12d3-a456-426614174000",
"typeOfWorkId": "123e4567-e89b-12d3-a456-426614174000",
"project": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"projectStatus": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"description": "Work in progress",
"type": "todo"
},
"company": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"hasImage": true,
"description": "One of our customers"
},
"projectType": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"icon": "thumb_up"
},
"hasImage": true,
"createdBy": "123e4567-e89b-12d3-a456-426614174000"
},
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"plannedDuration": 21600,
"taskStatus": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"description": "Work in progress",
"type": "todo",
"order": 1,
"icon": "arrow_forward"
},
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"correlationId": "123e4567-e89b-12d3-a456-426614174000",
"parentId": "123e4567-e89b-12d3-a456-426614174000",
"parentTask": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design"
}
},
"project": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"projectStatus": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"description": "Work in progress",
"type": "todo"
},
"company": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"hasImage": true,
"description": "One of our customers"
},
"projectType": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"icon": "thumb_up"
},
"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
}
]Changes
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning
- info
api operation id
GetTimeEntriesV2was added
- info