Query
query BusinessHoursSchedules {
businessHoursSchedules {
edges {
cursor
node {
id
name
slots {
__typename
}
createdAt {
__typename
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"businessHoursSchedules": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"slots": [
{
"__typename": "BusinessHoursSlot"
}
],
"createdAt": {
"__typename": "DateTime"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
businessHoursSchedules
Returns a paginated list of the workspace’s business hours schedules, sorted by name. Requires the businessHours:read permission.
QUERY
businessHoursSchedules(first: Int, after: String, last: Int, before: String): BusinessHoursScheduleConnection!Arguments
first
Int
after
String
last
Int
before
String
Returns
edges
pageInfo
Query
query BusinessHoursSchedules {
businessHoursSchedules {
edges {
cursor
node {
id
name
slots {
__typename
}
createdAt {
__typename
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"businessHoursSchedules": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"slots": [
{
"__typename": "BusinessHoursSlot"
}
],
"createdAt": {
"__typename": "DateTime"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

