GET/desk/api/v2/businesshoursholidays/{id}.json

Get a single businesshoursholiday by id.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    BusinessHoursHolidayAPIBody handles the get/create/update request/response for businesshoursholiday.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

Examples

200 OK

BusinessHoursHolidayAPIBody
{  "businesshoursholiday": {    "businesshours_id": 0,    "createdAt": "2024-04-16T16:34:47.179Z",    "createdBy": {      "delete": true,      "id": 0,      "meta": {},      "type": 0    },    "deletedAt": "2024-04-16T16:34:47.179Z",    "deletedBy": {      "delete": true,      "id": 0,      "meta": {},      "type": 0    },    "endDate": "2024-04-16T16:34:47.179Z",