Skip to main content

availabilityRules

Fetches availability rules for users and rooms.

Important: This query is only available for practices using the New Semble Appointment System. Learn more

availabilityRules(
dateRange: DateRange
userIds: [String]
roomIds: [String]
locationIds: [String]
pagination: Pagination
): AvailabilityRulesData

Arguments

availabilityRules.dateRange ● DateRange input

If you specify a date range, availability rules are included when their stored startDate or endDate falls within the date range. Rules with no endDate are included when their startDate is on or before the end date.

availabilityRules.userIds ● [String] list scalar

List of user IDs to fetch availability rules for. At least one user, room, or location must be provided.

availabilityRules.roomIds ● [String] list scalar

List of room IDs to fetch availability rules for. At least one user, room, or location must be provided.

availabilityRules.locationIds ● [String] list scalar

List of location IDs to fetch availability rules for. At least one user, room, or location must be provided.

availabilityRules.pagination ● Pagination input

Pagination input for navigation through rule results.

Type

AvailabilityRulesData object

A collection of availability rules.