Skip to main content

availableAppointments

Appointments available on a given day

GraphQL Schema​

extend type query {
"""Appointments available on a given day"""
availableAppointments(userId: ID, date: Date!): [AvailableAppointment!]!
}

Arguments​

NameTypeDescription
userIdIDUnique ID of the user
dateDate!

Response Shape​

This query returns [AvailableAppointment!]!

NameTypeDescription
idID!Unique ID of the object
startTimeDatetime!
endTimeDatetime!