workSchedule
Get the work schedule with the given identifier.
Arguments
The identifier of the work schedule (also known as the 'slug').
Returns
WorkScheduleType!Possible Errors
Allowed Viewers
Required Permissions
Can query work schedulesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query WorkSchedule($identifier: String!) {
workSchedule(identifier: $identifier) {
identifier
isOpen
isPublicHoliday
name
openOrClosedReason
}
}
Variables
{
"identifier": "59457184"
}
Response
{
"data": {
"workSchedule": {
"identifier": "15046841",
"isOpen": true,
"isPublicHoliday": true,
"name": "represent-should-east-so-senior",
"openOrClosedReason": "CLOSED_DUE_TO_PUBLIC_HOLIDAY"
}
}
}