Skip to main content

Arguments

identifier : String! required

The identifier of the work schedule (also known as the 'slug').

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query work schedules

Query Complexity

1

Examples

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

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" } } }