בקשה
ListBookingsRequest
הערך המוחזר
תגובה להזמנות
האפשרות הזו צריכה להחזיר למשתמש רק הזמנות עתידיות, ולא הזמנות מכל הזמנים.
קודי שגיאה קנוניים ב-gRPC
NOT_FOUND
(אם מזהה המשתמש המבוקש לא ידוע לשותף)
// Request to list all upcoming bookings for a user message ListBookingsRequest { // ID of the user (required) string user_id = 1; } // Response for the [ext.maps.booking.partner.v2.ListBookings] RPC with all // upcoming bookings for the requested user message ListBookingsResponse { // All bookings of the user (required) repeated Booking bookings = 1; }