Rezervasyon spesifikasyonu
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Rezervasyon, bir envanter aralığı için alınan randevudur. Randevuyu tanımlamak ve oluşturmak için gereken bilgileri içerir.
// 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;}
Rezervasyon oluşturun
Rezervasyon oluşturmanın iki yolu vardır:
Rezervasyon doğrudan bir Slot'tan oluşturulabilir.
Kiralama'nın isteğe bağlı desteğiyle, önce Slot için Kiralama oluşturulur, ardından rezervasyon olarak tamamlanır.
Ayrıntılar için CreateBooking başlıklı makaleyi inceleyin.
Rezervasyonu güncelleme
Rezervasyonlar güncellenebilir (ör. yeniden planlanabilir veya iptal edilebilir).
Ayrıntılar için UpdateBooking'i inceleyin.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]