GET/desk/api/v2/businesshoursschedules.json

Get a paginated list of businesshoursschedules.

The following values are allowed in the filter query parameter:

  • businesshours_id
  • createdAt
  • createdBy
  • day
  • deletedAt
  • deletedBy
  • endHour
  • id
  • startHour
  • state
  • updatedAt
  • updatedBy

The following values are allowed in the orderBy query parameter:

  • businesshours_id

  • createdAt

  • createdBy

  • day

  • deletedAt

  • deletedBy

  • endHour

  • id

  • startHour

  • 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
    BusinessHoursSchedulesAPIBody handles the listing response for businesshoursschedule.
  • 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

BusinessHoursSchedulesAPIBody
{  "businesshoursschedules": [    {      "businesshours_id": 0,      "createdAt": "2024-12-04T16:22:47.687Z",      "createdBy": {        "delete": true,        "id": 0,        "meta": {          "additionalProp": "Unknown Type: any"        },        "type": 0      },      "day": "string",      "deletedAt": "2024-12-04T16:22:47.687Z",      "deletedBy": {        "delete": true,        "id": 0,