AlphaAlpha Docs
API ReferenceHr time entry

Get time report

Retrieves aggregated time report for a date range

GET
/hr/time-entries/report
AuthorizationBearer <token>

In: header

Query Parameters

startDate*string
Formatdate
endDate*string
Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/hr/time-entries/report?startDate=2019-08-24&endDate=2019-08-24"
{
  "billableHours": 0.1,
  "byClient": [
    {
      "billableHours": 0.1,
      "clientId": "string",
      "hours": 0.1
    }
  ],
  "byEmployee": [
    {
      "billableHours": 0.1,
      "currency": "string",
      "employeeId": "string",
      "employeeName": "string",
      "hourlyRate": 0.1,
      "hours": 0.1,
      "totalCost": 0.1
    }
  ],
  "byProject": [
    {
      "hours": 0.1,
      "projectId": "string"
    }
  ],
  "endDate": "2019-08-24",
  "startDate": "2019-08-24",
  "totalHours": 0.1
}
{
  "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"
}