📄️ Constructing Filters and Sorts
Fleetio is introducing a new, simpler method to filter and sort results. During the transition to this new method, there will be endpoints where the original q[] sorting is used, and new endpoints where the new sorting will be used instead.
📄️ Filtering and Sorting Custom Fields
The new filtering and sorting methods only exist in API versions starting with 2024-01-01. They can be identified by the response, which returns an object with pagination data, applied filters and sorts, and the array of records in the records attribute.
📄️ Filtering and Sorting Usage Examples
The new filtering and sorting methods only exist in API versions starting with 2024-01-01. They can be identified by the response, which returns an object with pagination data, applied filters and sorts, and the array of records in the records attribute.
📄️ Filtering quirks with cURL
If you want to use filters with cURL, you'll need to use the special --globoff flag. Otherwise, cURL will choke on any [] used in the filters. Your cURL request will look something like this: