GET/desk/api/v2/businesshoursholidays.json

Get a paginated list of businesshoursholidays.

The following values are allowed in the filter query parameter:

  • businesshours_id
  • createdAt
  • createdBy
  • deletedAt
  • deletedBy
  • endDate
  • id
  • name
  • startDate
  • state
  • updatedAt
  • updatedBy

The following values are allowed in the orderBy query parameter:

  • businesshours_id

  • createdAt

  • createdBy

  • deletedAt

  • deletedBy

  • endDate

  • id

  • name

  • startDate

  • state

  • updatedAt

  • updatedBy

         The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
     
    
  • users

  • all

Responses

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

BusinessHoursHolidaysAPIBody
{  "businesshoursholidays": [    {      "businesshours_id": 0,      "createdAt": "2024-10-18T23:59:26.491Z",      "createdBy": {        "delete": true,        "id": 0,        "meta": {          "additionalProp": "Unknown Type: any"        },        "type": 0      },      "deletedAt": "2024-10-18T23:59:26.491Z",      "deletedBy": {        "delete": true,        "id": 0,        "meta": {