अनुरोध
ListBookingsRequest
रिटर्न वैल्यू
ListBookingsResponse
इसे सिर्फ़ किसी उपयोगकर्ता की आने वाले समय की बुकिंग की जानकारी दिखानी होती है, न कि सभी बुकिंग की जानकारी.
कैननिकल gRPC गड़बड़ी कोड
NOT_FOUND(अगर अनुरोध करने वाले उपयोगकर्ता का आईडी, पार्टनर को नहीं पता है)
// Request to list all upcoming bookings for a user export message ListBookingsRequest { option features.(pb.java).nest_in_file_class = YES; // 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 export message ListBookingsResponse { option features.(pb.java).nest_in_file_class = YES; // All bookings of the user (required) repeated Booking bookings = 1; }