Metodo ListBookings

Questo metodo restituisce le prenotazioni future per un utente presso qualsiasi commerciante. Questo metodo non deve restituire prenotazioni passate o annullate.

Richiedi

Richiesta di prenotazione di un elenco

Valore restituito

Risposta ListBookings

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