getSeveral

fun getSeveral(    sortBy: String = "startTime",     sortDesc: Boolean = false,     limit: Int? = null,     offset: Int? = null,     searchQuery: String? = null): PagedData<Trip>

Gets several trips based on the provided criteria

Return

List of Trip that fits the criteria

Parameters

sortBy

Name of column to sort by

sortDesc

Flag to sort descending

searchQuery

Additional search query string to filter the results