work-location-categories

Find work location categories

Retrieves a list of all resources from the service.

get/work-location-categories

Request

  • Base URL: https://api.hoorayhr.io
  • URL: https://api.hoorayhr.io/work-location-categories
  • Auth: API key in header authorization

Response

success

idinteger

Unique id of the work location category

namestring

Name of the work location category

systemCategoryType'home' nullable

enum with valid system category types

icon'home' | 'office' | 'office1' | 'office2' | 'location-car' | 'location'

enum with valid icons for use in HoorayHR

archivedAtstring date-time nullable

Date when the work location category was archived

createdAtstring date-time

Creation date of the item

updatedAtstring date-time

Last updated date of the item

Example response

[
  {
    "id": 1,
    "name": "Home office",
    "archivedAt": "2022-02-23T14:00:15.000Z",
    "createdAt": "2022-02-15T14:01:17.516Z",
    "updatedAt": "2022-02-23T14:01:17.516Z"
  }
]

Changes

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