予約の詳細

Booking は在庫スロットの予約で、予約の特定と実行に必要な情報が含まれています。

// 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;
}

予約の作成

予約を作成する方法は以下の 2 つです。

  • 時間枠から直接作成できます。
  • 任意のリースのサポート機能を使用すると、時間枠のリースが作成されてから予約が確定します。

詳しくは、CreateBooking をご覧ください。

予約の更新

予約は更新(予定変更やキャンセルなど)です。
詳しくは、UpdateBooking をご覧ください。

予約のステータスの取得

予約のステータス(BookingStatus を参照)と、予約の前払いのステータス(PrepaymentStatus を参照)は、GetBookingStatusListBookings を使用して読み込むことができます。