ListBookings का तरीका

इस तरीके से किसी भी व्यापारी/कंपनी के पास उपयोगकर्ता को मिलने वाली बुकिंग की जानकारी मिलती है. इस तरीके से पिछली बुकिंग या रद्द की गई बुकिंग वापस नहीं की जानी चाहिए.

अनुरोध करें

ListBookingsRequest

रिटर्न वैल्यू

ListBookingsResponse

// Request to list all bookings for a user
message ListBookingsRequest {
  // ID of the user (required)
  string user_id = 1;
}

// Response for the ListBookings RPC with all bookings for the requested user.
message ListBookingsResponse {
  // All bookings of the user (required)
  repeated Booking bookings = 1;
}