Skip to content

PotentialAppointmentSlot

A potential appointment slot

Fields

appointment_id · String · The ID of the appointment this slot is for
appointment_type · AppointmentType · The type of appointment the slot is for. Returns nil if not a group appointment. Returning this for many slots can potentially slow down query times.
color · String · The hexcode color of the slot (Not used in Healthie's default self-scheduling widget)
date · String · The date of the slot
has_waitlist_enabled · Boolean · Whether this slot has waitlist enabled
is_fully_booked · Boolean · Whether this slot is fully booked
length · Int · The length of the appointment type (in minutes)
user_id · String · The ID of the user who owns the slot

Used By

Definition

"""
A potential appointment slot
"""
type PotentialAppointmentSlot {
"""
The ID of the appointment this slot is for
"""
appointment_id: String
"""
The type of appointment the slot is for. Returns nil if not a group appointment. Returning this for many slots can potentially slow down query times.
"""
appointment_type: AppointmentType
"""
The hexcode color of the slot (Not used in Healthie's default self-scheduling widget)
"""
color: String
"""
The date of the slot
"""
date: String
"""
Whether this slot has waitlist enabled
"""
has_waitlist_enabled: Boolean
"""
Whether this slot is fully booked
"""
is_fully_booked: Boolean
"""
The length of the appointment type (in minutes)
"""
length: Int
"""
The ID of the user who owns the slot
"""
user_id: String
}