Metoda wyświetlania listy rezerwacji

Ta metoda zwraca przyszłe rezerwacje danego użytkownika u dowolnego sprzedawcy. Ta metoda nie zwraca poprzednich rezerwacji ani anulowanych rezerwacji.

Wyślij prośbę

Wyświetlanie żądania rezerwacji

Zwracana wartość

Wyświetlanie odpowiedzi na temat rezerwacji

// 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;
}