bookmark_borderbookmark
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.
Phương thức này trả về các lượt đặt phòng trong tương lai của người dùng tại bất kỳ người bán nào. Phương thức này không được trả về các yêu cầu đặt phòng trước đây hoặc các yêu cầu đặt phòng đã huỷ.
Yêu cầu
ListBookingsRequest
Giá trị trả về
ListBookingsResponse
// Request to list all bookings for a usermessageListBookingsRequest{// ID of the user (required)stringuser_id=1;}// Response for the ListBookings RPC with all bookings for the requested user.messageListBookingsResponse{// 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-05-24 UTC."],[[["This service retrieves a list of a user's upcoming bookings across all merchants."],["Past and cancelled bookings are excluded from the results."],["The request requires a user ID to identify the user for which the bookings are being listed."],["The response returns a list of Booking objects, representing the user's upcoming reservations."]]],["The `ListBookingsRequest` retrieves a user's future bookings, excluding past or cancelled ones, by utilizing a required `user_id`. The `ListBookingsResponse` returns a list of `Booking` objects, representing all future bookings associated with the specified user. The response contains a repeated `bookings` field, which is mandatory.\n"]]