GET/desk/api/v2/businesshours.json
Get a paginated list of businesshours.
The following values are allowed in the filter query parameter:
- createdAt
- createdBy
- deletedAt
- deletedBy
- description
- id
- isDefault
- name
- state
- timezoneId
- timezone_name
- updatedAt
- updatedBy
The following values are allowed in the orderBy query parameter:
-
createdAt
-
createdBy
-
deletedAt
-
deletedBy
-
description
-
id
-
isDefault
-
name
-
state
-
timezoneId
-
timezone_name
-
updatedAt
-
updatedBy
The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
-
businesshoursholidays
-
businesshoursschedules
-
triggers
-
users
-
all
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.
200 OK
BusinessHoursAPIBody
{ "businesshours": [ { "businesshourholidays": [ { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any" }, "type": 0 } ], "businesshourschedules": [ { "delete": true, "id": 0, "meta": {