external-leave-types

Remove multiple external leave types

Removes multiple resources queried by given filters.

delete/external-leave-types

Request

  • Base URL: https://api.hoorayhr.io
  • URL: https://api.hoorayhr.io/external-leave-types
  • Auth: API key in header authorization

Query parameters

idinteger

ID of the external leave type

namestring required

Name of the external leave type, unique per company

color'DARK_BLUE' | 'LIGHT_BLUE' | 'GREEN' | 'ORANGE' | 'YELLOW' | 'RED'

Color of the external leave type

icon'PALMTREE' | 'LEAVE-GENERAL' | 'BACKPACK' | 'SUITCASE' | 'CLOCK' | 'PRAM' | 'PLANE' | 'CAR' | 'BIKE' | 'EDUCATION' | 'CERTIFICATE' | 'BOOK' | 'MISC' | 'REVIEW' | 'AGREEMENT' | 'ADDENDUM' | 'MUTATION' | 'USER' | 'TEAM' | 'PRESENT' | 'FLAG' | 'GOALS'

Icon of the external leave type

leaveInDaysinteger

Tiny-int indicating if the budgets are defined in days instead of minutes

clientIdstring

Client ID of OAuth client that created the external leave type

createdAtstring date-time

Creation date of the external leave type

updatedAtstring date-time

Last updated date of the external leave type

Query parameters to filter

{
  "id": 5,
  "createdAt": "2022-02-15T14:01:17.516Z",
  "updatedAt": "2022-02-23T14:01:17.516Z"
}

Response

success

idinteger

ID of the external leave type

namestring required

Name of the external leave type, unique per company

color'DARK_BLUE' | 'LIGHT_BLUE' | 'GREEN' | 'ORANGE' | 'YELLOW' | 'RED'

Color of the external leave type

icon'PALMTREE' | 'LEAVE-GENERAL' | 'BACKPACK' | 'SUITCASE' | 'CLOCK' | 'PRAM' | 'PLANE' | 'CAR' | 'BIKE' | 'EDUCATION' | 'CERTIFICATE' | 'BOOK' | 'MISC' | 'REVIEW' | 'AGREEMENT' | 'ADDENDUM' | 'MUTATION' | 'USER' | 'TEAM' | 'PRESENT' | 'FLAG' | 'GOALS'

Icon of the external leave type

leaveInDaysinteger

Tiny-int indicating if the budgets are defined in days instead of minutes

clientIdstring

Client ID of OAuth client that created the external leave type

createdAtstring date-time

Creation date of the external leave type

updatedAtstring date-time

Last updated date of the external leave type

Example response

[
  {
    "id": 5,
    "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.