बुकिंग की स्थिति से जुड़ा तरीका

अनुरोध करें

बुकिंग के स्टेटस का अनुरोध

रिटर्न वैल्यू

getBookingStatusResponse

कैननिकल gRPC गड़बड़ी कोड

  • NOT_FOUND (अगर दिए गए बुकिंग आईडी के बारे में पार्टनर को जानकारी नहीं है)
// Request to get booking status and prepayment status for a
// [ext.maps.booking.partner.v2.Booking]
message GetBookingStatusRequest {
  // ID of the existing booking (required)
  string booking_id = 1;
}

// Response for the [ext.maps.booking.partner.v2.GetBookingStatus] RPC with
// booking status and prepayment status
message GetBookingStatusResponse {
  // ID of the booking (required)
  string booking_id = 1;

  // Status of the booking (required)
  BookingStatus booking_status = 2;

  // Prepayment status of the booking (required)
  PrepaymentStatus prepayment_status = 3;
}