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

Get a single businesshour by id.

The following values are allowed in the includes query parameter:

  • businesshoursholidays
  • businesshoursschedules
  • triggers
  • users
  • all

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    BusinessHourAPIBody handles the get/create/update request/response for businesshour.
  • 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

BusinessHourAPIBody
{  "businesshour": {    "businesshourholidays": [      {        "delete": true,        "id": 0,        "meta": {          "additionalProp": "Unknown Type: any"        },        "type": 0      }    ],    "businesshourschedules": [      {        "delete": true,        "id": 0,        "meta": {          "additionalProp": "Unknown Type: any"