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