TimeEntries
Returns simplified time entries.
Changed onReturns simplified time entries grouped by the requested property when one is supplied. <Check title="Required Permissions" icon="key">The user must have permission to view the returned time entries.</Check>
get/timeentries/simplified
Request
- Base URLhttps://api.awork.com/api/v2
- URLhttps://api.awork.com/api/v2/timeentries/simplified
- AuthOAuth 2Authorization code: https://api.awork.com/accounts/authorizeToken URL: https://api.awork.com/accounts/token scopes: full_access
Query parameters
groupingstring
The grouping type.
pageinteger
Page number for pagination
pageSizeinteger
Number of items per page
orderbystring
The properties to order by
filterbystring
The filter expression to filter by
Response
OK
Example response
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"isBillable": true,
"duration": 8635,
"task": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"correlationId": "123e4567-e89b-12d3-a456-426614174000",
"parentId": "123e4567-e89b-12d3-a456-426614174000",
"taskStatusId": "123e4567-e89b-12d3-a456-426614174000",
"taskStatus": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"description": "Work in progress",
"type": "todo",
"order": 1,
"icon": "arrow_forward"
},
"primaryTaskListId": "123e4567-e89b-12d3-a456-426614174000",
"primaryTaskList": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design"
}
},
"taskId": "123e4567-e89b-12d3-a456-426614174000",
"project": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"company": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d"
}
},
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"user": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"firstName": "Carla",
"lastName": "Creative",
"hasImage": true
},
"userId": "123e4567-e89b-12d3-a456-426614174000",
"typeOfWork": {
"id": "80a2b26b-9fb3-42b5-b6dc-126c437cad5d",
"name": "Design",
"icon": "thumb_up"
},
"typeOfWorkId": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "123e4567-e89b-12d3-a456-426614174000"
}
]Changes
- info
api operation id
GetTimeEntriesSimplifiedV2was added
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info