Absence types

Returns a specific absence reason

Changed on
get/absences/types/{typeId}

Request

  • Base URL
    https://api.craftboxx.de
  • Auth
    HTTP bearer

Path parameters

typeIdinteger required

Type id

Response

Absence reason

Example response

{
  "data": {
    "id": 1,
    "custom_icon_id": 1,
    "name": "Holiday",
    "color": "#FF0000",
    "contrast_color": "WHITE",
    "group": "HOLIDAY",
    "first_line": "First line",
    "icon": "fas fa-calendar-times",
    "source": "manual"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status