Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Una prenotazione è un appuntamento per uno spazio dell'inventario. Contiene le informazioni necessarie per identificare e fissare l'appuntamento.
// A booking for an inventory slotmessageBooking{// 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;}
Crea una prenotazione
Esistono due modi per creare una prenotazione:
Una prenotazione può essere creata direttamente da un
slot.
Con il supporto facoltativo di
Lease, viene creato un Contratto di cessione
per lo Slot e poi finalizzato in una Prenotazione.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-26 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"]]