GetAndSearchRoutesByPage
class GetAndSearchRoutesByPage
GetAndSearchRoutesByPage gets routes from the API with pagination and filtering support.
Functions
Link copied to clipboard
suspend operator fun invoke(fields: List<RouteProperty> = RouteProperty.entries, filters: RouteFilters? = null, logicalOperator: ApiLogicalOperator = ApiLogicalOperator.AND, orderSort: RouteOrderSort? = null, page: Int = 1, pageQuantity: Int = DEFAULT_RECORD_QUANTITY_PER_PAGE, searchType: ApiSearchType = ApiSearchType.EXACT, sessionToken: String? = null): ResultS1SDK<DataSet<Route>, ErrorS1SDK>
Gets Route models from the API for a specific page. You can specify extra filters to apply on the search.