बुकिंग की जानकारी

बुकिंग, इन्वेंट्री स्लॉट के लिए अपॉइंटमेंट है. इसमें वह जानकारी होती है जो अपॉइंटमेंट की पहचान करने और उसे असाइन करने के लिए ज़रूरी है.

// A booking for an inventory slot
message Booking {
  // ID of this booking (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;
}

बुकिंग बनाएं

बुकिंग करने के दो तरीके हैं:

  • सीधे स्लॉट से बुकिंग की जा सकती है.
  • लीज़ की वैकल्पिक सुविधा के साथ, पहले स्लॉट के लिए लीज़ बनाया जाता है और फिर उसे बुकिंग में शामिल किया जाता है.

ज़्यादा जानकारी के लिए, CreateBooking देखें.

बुकिंग अपडेट करें

बुकिंग को अपडेट किया जा सकता है, यानी उसे फिर से शेड्यूल किया जा सकता है या रद्द किया जा सकता है.
ज़्यादा जानकारी के लिए, UpdateBooking देखें.

बुकिंग का स्टेटस जानना

बुकिंग की स्थिति (BookingStatus देखें) और पहले से किए गए पेमेंट की स्थिति (PrepaymentStatus देखें) को GetBookingStatus और ListBookings की मदद से पढ़ा जा सकता है.