Stay organized with collections
Save and categorize content based on your preferences.
A Booking is an appointment for an inventory slot. It contains the
information needed to identify and make the appointment.
Booking Definition
// A booking for an inventory slot
message Booking {
// ID of this booking, which must be unique across all bookings. (required)
string booking_id = 1;
// The appointment slot of this booking
// (required for CreateBooking and UpdateBooking:modify,
// but not UpdateBooking:cancel)
Slot slot = 2;
// Personal information of the user making the appointment (required for
// CreateBooking)
UserInformation user_information = 3;
// Status of the booking (required for CreateBooking and UpdateBooking:cancel,
// but not UpdateBooking:modify)
BookingStatus status = 4;
// Information about payment transactions that relate to the booking.
// (optional)
PaymentInformation payment_information = 5;
// Information about virtual session related to this booking. (optional)
VirtualSessionInfo virtual_session_info = 6;
// Information about the Offer applied to this booking.
//
// Required in CreateBookingResponse if an offer_id was set on the
// CreateBookingRequest that created the Booking.
OfferInfo offer_info = 7;
}
OfferInfo Definition
// Information about an Offer applied to a booking.
message OfferInfo {
// The ID of the Offer.
string offer_id = 1;
}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["A Booking represents an appointment for an inventory slot and contains details like booking ID, slot information, user details, and booking status."],["It includes optional information such as payment details, virtual session details, and details about any applied Offer."],["An OfferInfo message provides details about an Offer applied to a booking, primarily the Offer ID."],["Bookings must have a unique booking ID and include appointment slot details, while user information is required only during booking creation."],["Booking status is essential for creation and cancellation, while payment, virtual session, and offer information are optional."]]],[]]