time-tracking

Get a single time entry with activities

Retrieves a single resource with the given id from the service.

get/time-tracking/{id}

Request

  • Base URL: https://api.hoorayhr.io
  • URL: https://api.hoorayhr.io/time-tracking/{id}
  • Auth: API key in header authorization

Path parameters

idinteger required

Response

A single time entry

idinteger required
userIdinteger required
startDatestring date required
endDatestring date required
period'DAY' | 'WEEK' required
status'NOT_LOGGED' | 'CONCEPT' | 'REQUEST' | 'APPROVED' | 'DENIED' required
createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "activities": [
    {
      "timezone": "Europe/Amsterdam",
      "notes": "Optional notes for the activity",
      "labels": [
        {
          "id": 5,
          "name": "Project epsilon",
          "type": "TIME_TRACKING",
          "systemCategoryType": "car",
          "createdAt": "2022-02-23T14:01:17.516Z",
          "updatedAt": "2022-02-23T14:01:17.516Z"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.