Saltar al contenido

Object

ActivitySession

Fields

idID!
activityActivity
nameString
startAtDateTime
priceInt!
registrationCountInt!
waitlistCountInt!

Number of people currently waitlisted for this session.

Bookable spot layout, occupancy, and viewer-relative state for this session. Null when the session's location has no spot map. Bundles the data the spot picker needs in one round trip: the layout, the union of taken spots, and the subsets the viewer holds for themselves vs. for guests they registered.

myRegistrationActivityRegistration
myGuestRegistrations[ActivityRegistration!]!

Confirmed registrations on this session that the viewer booked on behalf of someone other than themselves. Empty for unauthenticated requests, and excludes the viewer's own registration. Ordered by creation time, oldest first, so card UIs can render the first one or two guests stably without re-sorting.

paymentResolutionPaymentResolution

Resolved payment options for the current user. Null when not authenticated.

When forGuest is true, options are computed for a registration the viewer is booking on behalf of someone else: regular memberships are excluded (their session balance covers the member only), and any membership with guest passes remaining is surfaced as a MembershipGuestPassPaymentOption instead.

Arguments (1)
forGuestBoolean
locationLocation

Staff assigned to this session. Merges assignments from the parent activity with any session-specific overrides.

calendarCalendarUrl

Used in