Skip to content

respondToBookingAttendance

respondToBookingAttendance(booking: ID!, response: AttendanceResponse!, sessionStartAt: DateTime): RespondToBookingAttendanceResult!

Say whether the viewer's booking is still on — the answer to a reminder's "I'll be there" and "Can't make it" buttons. Answering again replaces the previous answer.

Intent only: declined neither cancels nor refunds, so the place stays held until cancelBooking is called. Allowed for the person the booking is for or the person who made it (a parent for their child), on a confirmed booking for one session that has not started yet.

sessionStartAt is the start the question was asked about, as the reminder's links carry it: when the session has moved since, the answer is refused rather than recorded against the new time.

Arguments

bookingID!
sessionStartAtDateTime

Returns

RespondToBookingAttendanceResult!

See RespondToBookingAttendanceResult for the full shape.

Try it

Authentication
Example
Query
mutation RespondToBookingAttendance($booking: ID!, $response: AttendanceResponse!, $sessionStartAt: DateTime) {
  respondToBookingAttendance(booking: $booking, response: $response, sessionStartAt: $sessionStartAt) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql