Query
query BusinessHoursOverrides {
businessHoursOverrides {
edges {
cursor
node {
id
businessHoursScheduleId
name
startsOn
endsOn
slots {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"businessHoursOverrides": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"businessHoursScheduleId": "id",
"name": "string",
"startsOn": "string",
"endsOn": "string",
"slots": [
{
"__typename": "BusinessHoursOverrideSlot"
}
]
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
businessHoursOverrides
Returns a paginated list of business hours overrides across the workspace’s schedules, sorted by start date. Filter by schedule, start date or end date. Requires the businessHours:read permission.
QUERY
businessHoursOverrides(filters: WorkspaceBusinessHoursOverridesFilter, sortBy: BusinessHoursOverridesSort, first: Int, after: String, last: Int, before: String): BusinessHoursOverrideConnection!Arguments
first
Int
after
String
last
Int
before
String
Returns
edges
pageInfo
Query
query BusinessHoursOverrides {
businessHoursOverrides {
edges {
cursor
node {
id
businessHoursScheduleId
name
startsOn
endsOn
slots {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"businessHoursOverrides": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"businessHoursScheduleId": "id",
"name": "string",
"startsOn": "string",
"endsOn": "string",
"slots": [
{
"__typename": "BusinessHoursOverrideSlot"
}
]
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

