Skip to main content

Listing Records

Use SearchAsync 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

The SearchResult<T> object returned by SearchAsync provides full pagination metadata:

Sorting results

Pass orderBy and dir parameters to control the sort order:
If omitted, the API uses each entity’s default sort order (e.g., Bookings default to FromTime ascending, Coworkers default to FullName ascending).

Sorting with filters

Sorting can be combined with filters and pagination:

Sorting with typed search filters

Typed search filter classes also expose OrderBy and Dir properties:

Works with any entity

The same pattern applies to every endpoint in the SDK: