Specyfikacja rezerwacji
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Rezerwacja to termin spotkania w ramach elementu zasobów reklamowych. Zawiera informacje potrzebne do zidentyfikowania i umówienia wizyty.
// A booking for an inventory slotmessageBooking{optionfeatures.(pb.java).nest_in_file_class=YES;// ID of this booking (required)stringbooking_id=1;// The appointment slot of this booking (required for CreateBooking and// UpdateBooking:modify, but not UpdateBooking:cancel)Slotslot=2;// Personal information of the user making the appointment (required for// CreateBooking)UserInformationuser_information=3;// Status of the booking (required for CreateBooking and UpdateBooking:cancel,// but not UpdateBooking:modify)BookingStatusstatus=4;// Information about payment transactions that relate to the booking.// (optional)PaymentInformationpayment_information=5;// Information about virtual session related to this booking. (optional)VirtualSessionInfovirtual_session_info=6;}
Opcjonalnie możesz skorzystać z leasingu. W tym przypadku najpierw tworzona jest umowa leasingu dla miejsca, a potem jest ona finalizowana w postaci rezerwacji.
Szczegółowe informacje znajdziesz w sekcji CreateBooking.
Aktualizowanie rezerwacji
Rezerwację można zaktualizować, czyli zmienić jej termin lub ją anulować.
Więcej informacji znajdziesz w sekcji UpdateBooking.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2026-02-18 UTC."],[],["A `Booking` represents an appointment for an inventory slot and includes a `booking_id`, `slot`, `user_information`, `status`, and optional `payment_information` and `virtual_session_info`. Bookings are created from a `Slot`, or optionally via a `Lease`. Bookings can be updated, meaning they can be rescheduled or canceled. The booking's status, and optionally its prepayment status, can be retrieved via `GetBookingStatus` or `ListBookings`. The method `CreateBooking` is used to create a Booking, and `UpdateBooking` to update it.\n"]]