listPortfolios

abstract fun listPortfolios(page: Int, size: Int, sorting: List<SortOrder>, referenceCurrency: IsoCurrencyEnumDto?, customerId: String?): PortfolioResponseDto

Retrieves a list of portfolios based on the provided parameters.

Return

A PortfolioResponseDto object containing a list of portfolios that match the provided parameters.

Parameters

page

The page number for pagination. Must be a positive integer.

size

The number of portfolios to retrieve per page. Must be a positive integer.

sorting

The list of sort orders to apply for sorting the portfolios.

referenceCurrency

The reference currency for currency conversion. Can be null.

customerId

The ID of the customer. Can be null.