searchCustodyPositions
abstract fun searchCustodyPositions(custodyAccountId: String, searchRequest: CustodyPositionsSearchRequestDto, page: Int, size: Int, sortOrder: List<SortOrder>): CustodyPositionsSearchResponseDto
Searches for custody accounts positions based on the specified parameters.
Return
The response containing the requested custody positions.
Parameters
custodyAccountId
The (UU) ID of the custody account to which positions are associated with.
searchRequest
The custody positions request object specifying the search criteria.
page
The page number of the result set.
size
The size of each page in the result set.
sortOrder
The sort order for the result set. Each sort order consists of a direction (ASC or DESC) and a field name.
Throws
If an I/O error occurs during the search.
If the search execution encounters an exception.
If the search execution is interrupted.