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-07-26T20:26:10.533Z",    "createdBy": {      "delete": true,      "id": 0,      "meta": {},      "type": 0    },    "deletedAt": "2024-07-26T20:26:10.533Z",    "deletedBy": {      "delete": true,      "id": 0,      "meta": {},      "type": 0    },    "endDate": "2024-07-26T20:26:10.533Z",