GET/desk/api/v2/businesshours.json

Get a paginated list of businesshours.

The following values are allowed in the filter query parameter:

  • id
  • name
  • description
  • isDefault
  • timezoneId
  • timezone_name
  • createdAt
  • updatedAt
  • deletedAt
  • createdBy
  • updatedBy
  • deletedBy
  • state

The following values are allowed in the orderBy query parameter:

  • id
  • name
  • description
  • isDefault
  • timezoneId
  • timezone_name
  • createdAt
  • updatedAt
  • deletedAt
  • createdBy
  • updatedBy
  • deletedBy
  • state

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    BusinessHoursAPIBody handles the listing 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

BusinessHoursAPIBody
{  "businesshours": [    {      "businesshourholidays": [        {          "delete": true,          "id": 0,          "meta": {},          "type": 0        }      ],      "businesshourschedules": [        {          "delete": true,          "id": 0,          "meta": {},          "type": 0        }