Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu
GetBookingStatusRequest
Giá trị trả về
GetBookingStatusResponse
Mã lỗi gRPC chuẩn
NOT_FOUND (nếu đối tác không biết mã đặt phòng được cung cấp)
// Request to get booking status and prepayment status for a// [ext.maps.booking.partner.v2.Booking]messageGetBookingStatusRequest{// ID of the existing booking (required)stringbooking_id=1;}// Response for the [ext.maps.booking.partner.v2.GetBookingStatus] RPC with// booking status and prepayment statusmessageGetBookingStatusResponse{// ID of the booking (required)stringbooking_id=1;// Status of the booking (required)BookingStatusbooking_status=2;// Prepayment status of the booking (required)PrepaymentStatusprepayment_status=3;}
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["`GetBookingStatusRequest` retrieves the status and prepayment status of a booking using the booking ID."],["`GetBookingStatusResponse` returns the booking ID, booking status (`BookingStatus`), and prepayment status (`PrepaymentStatus`)."],["If the booking ID is not found, a `NOT_FOUND` error is returned."]]],["The `GetBookingStatusRequest` requires a `booking_id` to retrieve booking information. The `GetBookingStatusResponse` returns the `booking_id`, the `booking_status`, and the `prepayment_status`. A `NOT_FOUND` error is returned if the provided `booking_id` is not recognized. This interaction allows partners to check the status and prepayment status of a booking by its ID.\n"]]