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
ListBookingsRequest
Giá trị trả về
ListBookingsResponse
Phương thức này chỉ cần trả về các lượt đặt phòng trong tương lai của người dùng, chứ không phải tất cả các lượt đặt phòng.
Mã lỗi gRPC chuẩn
NOT_FOUND (nếu đối tác không biết mã nhận dạng người dùng được yêu cầu)
// Request to list all upcoming bookings for a usermessageListBookingsRequest{// ID of the user (required)stringuser_id=1;}// Response for the [ext.maps.booking.partner.v2.ListBookings] RPC with all// upcoming bookings for the requested usermessageListBookingsResponse{// All bookings of the user (required)repeatedBookingbookings=1;}
[[["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."],[],["The `ListBookingsRequest` requires a `user_id` to retrieve a user's future bookings. The `ListBookingsResponse` returns a list of `bookings` for the specified user. The system should only return future bookings, not historical ones. If the provided `user_id` is not found, the service will respond with a `NOT_FOUND` gRPC error code. The request is made through the `ListBookings` RPC.\n"]]