Listing Records
UseSearchAsync to retrieve paginated lists of records from any entity endpoint.
List the first page
Retrieve the first page with the default page size (25):Custom page size
Specify a page number and page size:Iterate all pages
Loop through every page to process all records:SearchResult properties
TheSearchResult<T> object returned by SearchAsync provides full pagination metadata:
| Property | Type | Description |
|---|---|---|
Records | List<T> | The records on the current page. |
CurrentPage | int | The current page number (1-based). |
PageSize | int | The number of records per page. |
TotalItems | int | Total number of matching records. |
TotalPages | int | Total number of pages available. |