working-today

Find working today

Get an overview of who is working at which location for a specific date.

The names of work location categories can be retrieved via the /work-location-categories endpoint.

If a user works on the day, but has not set a work location, the value of workLocationCategoryId will be null.

For users that are absent due to a holiday, leave (only full day), sick leave (only 100%), or work schedule, the isWorkingToday value will be false.

get/working-today

Request

  • Base URL: https://api.hoorayhr.io
  • URL: https://api.hoorayhr.io/working-today
  • Auth: API key in header authorization

Query parameters

datestring date required
Example:2025-05-01

The day to get work locations for. Format: YYYY-MM-DD

includeArchivedUsersboolean

Whether archived users should be included in the response

includeInactiveEmploymentboolean

Whether to include users without an active employment for the provided date

Response

success

userIdinteger

ID of the user

workLocationCategoryIdinteger nullable

ID of the work location category

isWorkingTodayboolean

Whether the user is working today

Example response

[
  {
    "userId": 1,
    "workLocationCategoryId": 1,
    "isWorkingToday": true
  }
]

Changes

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