API ReferenceHr time entry
Get my weekly timesheet
Retrieves the current user's timesheet for a week
AuthorizationBearer <token>
In: header
Query Parameters
weekOffset?integer
Default
0Format
int32Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/hr/time-entries/my/week"{
"employeeId": "string",
"entries": [
{
"approvedAt": "2019-08-24T14:15:22Z",
"approvedBy": "string",
"billable": true,
"billingRate": 0.1,
"clientId": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"date": "2019-08-24",
"description": "string",
"employee": {
"avatar": "string",
"department": "string",
"email": "string",
"fullName": "string",
"id": "string",
"jobTitle": "string"
},
"employeeId": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"hours": 0.1,
"id": "string",
"opportunityId": "string",
"projectId": "string",
"rejectionReason": "string",
"startTime": "string",
"status": "DRAFT",
"task": {
"id": "string",
"name": "string"
},
"taskId": "string",
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}
],
"targetHours": 0.1,
"totalHours": 0.1,
"weekStart": "2019-08-24"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}