List vehicle assignments
fleetio_list_vehicle_assignmentsRead-only
List which driver (contact) was assigned to which vehicle and when; filter by vehicle or contact. GET /vehicle_assignments. Returns one page (keyset paging: pass next_cursor as start_cursor).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort_by | No | Sort field (default: Fleetio's default order). One of: started_at, ended_at, created_at, updated_at, id. | |
| per_page | No | Records per page, 2-100 (default 25). | |
| contact_id | No | Contact (driver) id | |
| vehicle_id | No | Vehicle id | |
| start_cursor | No | Cursor from the previous reply's next_cursor; omit for the first page. | |
| ended_at_after | No | Only records with assignment end at or after this moment (ISO 8601). | |
| sort_direction | No | Sort direction (default asc; used with sort_by). | |
| ended_at_before | No | Only records with assignment end at or before this moment (ISO 8601). | |
| started_at_after | No | Only records with assignment start at or after this moment (ISO 8601). | |
| started_at_before | No | Only records with assignment start at or before this moment (ISO 8601). |