روش ListBookings
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست
درخواست رزرو لیست
مقدار بازگشتی
پاسخ ListBookings
این فقط باید رزروهای آینده کاربر را برگرداند، نه رزروهای همیشگی را.
کدهای خطای gRPC کانونیکال
NOT_FOUND (اگر شناسه کاربری درخواست شده برای همکار ناشناخته باشد)
// Request to list all upcoming bookings for a usermessageListBookingsRequest{optionfeatures.(pb.java).nest_in_file_class=YES;// 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{optionfeatures.(pb.java).nest_in_file_class=YES;// All bookings of the user (required)repeatedBookingbookings=1;}
تاریخ آخرین بهروزرسانی 2026-03-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2026-03-26 بهوقت ساعت هماهنگ جهانی."],[],["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"]]