AlphaAlpha Docs
API ReferenceHr time entry

Get my time stats

Retrieves personal time entry statistics for the current user

GET
/hr/time-entries/my/stats
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/hr/time-entries/my/stats"
{
  "averageHoursPerDay": 0.1,
  "businessDaysElapsed": 0,
  "currentStreak": 0,
  "dailyHours": [
    {
      "date": "2019-08-24",
      "hours": 0.1
    }
  ],
  "hoursThisMonth": 0.1,
  "totalHoursAllTime": 0.1,
  "workingDaysThisMonth": 0
}
{
  "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"
}