Fleetio MCP by usefulapi
v1.28.1Read Fleetio vehicles, work orders, service, issues, inspections, fuel, parts; log issues, meters.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fleetio_list_accounts List accounts
The Fleetio account(s) this API key belongs to: id, name, address, plan, units and the key's user type. The Account-Token and permission flags are never returned. GET /accounts.
| Parameter | Type | Description |
|---|---|---|
per_page | integer | Records per page, 2-100 (default 25). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_vehicles List vehicles
List vehicles (not archived) with status, type, group, meter readings, VIN and license plate. Filter by name, VIN, plate, group, status or type; ids for the filters come from the lookup tools (fleetio_list_vehicle_statuses, fleetio_list_vehicle_types, fleetio_list_groups). GET /vehicles. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
group_id | integer | Group id |
license_plate | string | License plate (contains, case-insensitive) |
name | string | Vehicle name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: name, created_at, updated_at, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
vehicle_status_id | integer | Vehicle status id |
vehicle_type_id | integer | Vehicle type id |
vin | string | VIN (contains, case-insensitive) |
fleetio_list_vehicle_meter_entries List a vehicle's meter entries
List the odometer / engine-hour meter readings of ONE vehicle, newest first by default. GET /vehicles/{id}/meter_entries. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
vehicle_id * | Vehicle id. | |
category | string | Reading category. |
date_after | string | Only records with reading date at or after this moment (ISO 8601). |
date_before | string | Only records with reading date at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, date, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_meter_entries List meter entries
List meter readings across the account. Filter by vehicle and by date. GET /meter_entries. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
category | string | Reading category. |
date_after | string | Only records with reading date at or after this moment (ISO 8601). |
date_before | string | Only records with reading date at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, date, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
vehicle_id | integer | Vehicle id |
fleetio_list_vehicle_assignments List vehicle assignments
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).
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Contact (driver) id |
ended_at_after | string | Only records with assignment end at or after this moment (ISO 8601). |
ended_at_before | string | Only records with assignment end at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: started_at, ended_at, created_at, updated_at, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
started_at_after | string | Only records with assignment start at or after this moment (ISO 8601). |
started_at_before | string | Only records with assignment start at or before this moment (ISO 8601). |
vehicle_id | integer | Vehicle id |
fleetio_list_equipment List equipment
List equipment (non-vehicle assets such as trailers and tools). GET /equipment. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
brand | string | Brand (contains, case-insensitive) |
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
group_id | integer | Group id |
model | string | Model (contains, case-insensitive) |
name | string | Equipment name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
serial_number | string | Serial number (contains, case-insensitive) |
sort_by | string | Sort field (default: Fleetio's default order). One of: created_at, updated_at, in_service_date, out_of_service_date, purchase_date, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
fleetio_list_work_orders List work orders
List work orders (shop jobs) with status, vehicle, vendor and technician. Filter by vehicle, vendor, technician, number or status name (for example Open). A finished work order produces a service entry. GET /work_orders. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Technician (contact) id |
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
invoice_number | string | Invoice number |
number | integer | Work order number |
per_page | integer | Records per page, 2-100 (default 25). |
purchase_order_number | string | Purchase order number |
sort_by | string | Sort field (default: Fleetio's default order). One of: created_at, updated_at, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
vehicle_id | integer | Vehicle id |
vendor_id | integer | Vendor id |
work_order_status_name | string | Work order status name (see fleetio_list_work_order_statuses) |
fleetio_list_service_entries List service entries
List service entries (completed maintenance records) with vehicle, vendor, dates and notes. Filter by reference or completion date. GET /service_entries. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
completed_at_after | string | Only records with completion date at or after this moment (ISO 8601). |
completed_at_before | string | Only records with completion date at or before this moment (ISO 8601). |
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
reference | string | Reference (contains, case-insensitive) |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, completed_at, updated_at, created_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
fleetio_list_vehicle_service_entries List a vehicle's service entries
List the service entries of ONE vehicle. GET /vehicles/{id}/service_entries. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
vehicle_id * | Vehicle id. | |
completed_at_after | string | Only records with completion date at or after this moment (ISO 8601). |
completed_at_before | string | Only records with completion date at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
reference | string | Reference (contains, case-insensitive) |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, completed_at, updated_at, created_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_service_reminders List service reminders
List preventive-maintenance service reminders with next-due dates and meter values. Filter by status (ok, due_soon, overdue, snoozed), vehicle or service task. GET /service_reminders. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
per_page | integer | Records per page, 2-100 (default 25). |
service_reminder_status | string | Reminder status. |
service_task_id | integer | Service task id |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, next_due_at, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
vehicle_id | integer | Vehicle id |
fleetio_list_issues List issues
List issues (defects and problems reported against vehicles and equipment) with state, priority, assignees and due date. Filter by state, vehicle, equipment or reporter. GET /issues. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
due_date_after | string | Only records with due date at or after this moment (ISO 8601). |
due_date_before | string | Only records with due date at or before this moment (ISO 8601). |
equipment_id | integer | Equipment id |
number | integer | Issue number |
per_page | integer | Records per page, 2-100 (default 25). |
reported_at_after | string | Only records with report time at or after this moment (ISO 8601). |
reported_at_before | string | Only records with report time at or before this moment (ISO 8601). |
reported_by_id | integer | Reporter (contact) id |
sort_by | string | Sort field (default: Fleetio's default order). One of: due_date, resolved_at, reported_at, updated_at, created_at, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
state | string | Issue state. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
vehicle_id | integer | Vehicle id |
fleetio_list_faults List faults
List diagnostic trouble codes (faults) reported by telematics devices, with vehicle, code and last occurrence. GET /faults. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
code | string | Fault code |
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
last_occurred_at_after | string | Only records with last occurrence at or after this moment (ISO 8601). |
last_occurred_at_before | string | Only records with last occurrence at or before this moment (ISO 8601). |
name | string | Fault name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, last_occurred_at, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
vehicle_id | integer | Vehicle id |
fleetio_list_inspection_forms List inspection forms
List the inspection form templates (for example a daily DVIR) defined in the account. GET /inspection_forms. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
title | string | Form title (contains, case-insensitive) |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
fleetio_list_submitted_inspections List submitted inspections
List submitted inspections (filled-in forms) with the vehicle, the driver, the number of failed items and the submit time. GET /submitted_inspection_forms. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
inspection_form_id | integer | Inspection form id |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: created_at, submitted_at, updated_at, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
submitted_at_after | string | Only records with submit time at or after this moment (ISO 8601). |
submitted_at_before | string | Only records with submit time at or before this moment (ISO 8601). |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
user_id | integer | Submitting user id |
vehicle_id | integer | Vehicle id |
fleetio_list_fuel_entries List fuel entries
List fuel purchases/fill-ups with vehicle, volume, price, total cost and efficiency. Filter by vehicle, vendor or date. Fuel-card data is never returned. GET /fuel_entries. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
date_after | string | Only records with fill-up date at or after this moment (ISO 8601). |
date_before | string | Only records with fill-up date at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, date, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
vehicle_id | integer | Vehicle id |
vendor_id | integer | Vendor id |
fleetio_list_parts List parts
List parts (inventory catalog) with part number, manufacturer number, category and unit cost. Filter by part number, manufacturer part number or UPC. GET /parts. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
manufacturer_part_number | string | Manufacturer part number (contains, case-insensitive) |
number | string | Part number (contains, case-insensitive) |
part_category_id | integer | Part category id |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
upc | string | UPC |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
fleetio_list_part_stock List part stock by location
List on-hand inventory of parts per part location (quantity by location). Filter by part or part location. GET /part_location_details. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
part_id | integer | Part id |
part_location_id | integer | Part location id |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_contacts List contacts
List contacts (drivers, technicians, employees) with name, email, phones, job title and group. Birth dates and driver-licence data are never returned. Filter by email, last name or group. GET /contacts. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
email | string | Email (contains, case-insensitive) |
employee_number | string | Employee number |
group_id | integer | Group id |
last_name | string | Last name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: group_id, created_at, updated_at, id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
fleetio_list_vendors List vendors
List vendors (repair shops, fuel stations, parts suppliers) with address and contact details. GET /vendors. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
created_at_after | string | Only records with creation time at or after this moment (ISO 8601). |
created_at_before | string | Only records with creation time at or before this moment (ISO 8601). |
external_id | string | External id |
name | string | Vendor name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
updated_at_after | string | Only records with last update time at or after this moment (ISO 8601). |
updated_at_before | string | Only records with last update time at or before this moment (ISO 8601). |
fleetio_list_vehicle_renewal_reminders List vehicle renewal reminders
List vehicle renewal reminders (registration, insurance, inspections due) with next-due dates. Filter by vehicle or status. GET /vehicle_renewal_reminders. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
next_due_at_after | string | Only records with next due date at or after this moment (ISO 8601). |
next_due_at_before | string | Only records with next due date at or before this moment (ISO 8601). |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, due_soon_at, last_sent_at, next_due_at, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
vehicle_id | integer | Vehicle id |
vehicle_renewal_reminder_status | string | Reminder status. |
vehicle_renewal_type_id | integer | Renewal type id |
fleetio_list_comments List comments
List comments left on records. Filter by the record: commentable_type (Issue, WorkOrder, ServiceEntry, Vehicle, ...) + commentable_id. GET /comments. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
commentable_id | integer | Id of the commented record |
commentable_type | string | Type of the commented record. |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
user_id | integer | Author user id |
fleetio_list_vehicle_statuses List vehicle statuses
Lookup: the vehicle statuses (Active, In Shop, Out of Service, ...) and their ids for filtering vehicles. GET /vehicle_statuses. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Status name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_vehicle_types List vehicle types
Lookup: the vehicle types (Car, Truck, Van, ...) and their ids. GET /vehicle_types. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Type name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_work_order_statuses List work order statuses
Lookup: the work order statuses (Open, In Progress, Completed, ...). GET /work_order_statuses. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Status name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_issue_priorities List issue priorities
Lookup: the issue priorities and their ids (needed to create an issue with a priority). GET /issue_priorities. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Priority name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_groups List groups
Lookup: the groups (locations/departments) and their ids. GET /groups. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Group name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_labels List labels
Lookup: the labels (tags) used on vehicles, issues, work orders and service entries. GET /labels. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Label name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_service_tasks List service tasks
Lookup: the service tasks (Oil Change, Tire Rotation, ...) and their ids. GET /service_tasks. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Task name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_places List places
List places (geofences/locations) with address, coordinates and radius. GET /places. Returns one page (keyset paging: pass next_cursor as start_cursor).
| Parameter | Type | Description |
|---|---|---|
name | string | Place name (contains, case-insensitive) |
per_page | integer | Records per page, 2-100 (default 25). |
sort_by | string | Sort field (default: Fleetio's default order). One of: id, name, created_at, updated_at. |
sort_direction | string | Sort direction (default asc; used with sort_by). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_get_vehicle Get vehicle
One vehicle with full detail: status, type, group, meters, VIN, make/model/year, license plate, dates. GET /vehicles/{id}.
| Parameter | Type | Description |
|---|---|---|
vehicle_id * | Vehicle id (numeric). A VIN or license plate also works here, but only if external vehicle ids are set up in Fleetio; otherwise find the id with fleetio_list_vehicles. |
fleetio_get_equipment Get equipment
One equipment record with full detail. GET /equipment/{id}.
| Parameter | Type | Description |
|---|---|---|
equipment_id * | Equipment id. |
fleetio_get_work_order Get work order
One work order with full detail (status, vendor, technician, dates, totals). GET /work_orders/{id}.
| Parameter | Type | Description |
|---|---|---|
work_order_id * | Work order id (not the work order number). |
fleetio_get_service_entry Get service entry
One service entry with full detail (vehicle, vendor, notes, meter readings, totals). GET /service_entries/{id}.
| Parameter | Type | Description |
|---|---|---|
service_entry_id * | Service entry id. |
fleetio_get_part Get part
One part with full detail (number, manufacturer, category, costs). GET /parts/{id}.
| Parameter | Type | Description |
|---|---|---|
part_id * | Part id. |
fleetio_get_contact Get contact
One contact (driver/technician/employee). Birth date and driver-licence data are never returned. GET /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | Contact id. |
fleetio_get_vendor Get vendor
One vendor with full detail. GET /vendors/{id}.
| Parameter | Type | Description |
|---|---|---|
vendor_id * | Vendor id. |
fleetio_get_submitted_inspection Get submitted inspection
One submitted inspection with every item's result (pass/fail/remarks), the vehicle, driver and any resulting work order. GET /submitted_inspection_forms/{id}.
| Parameter | Type | Description |
|---|---|---|
submitted_inspection_id * | Submitted inspection form id. |
fleetio_get_inspection_form Get inspection form
One inspection form template with its items. GET /inspection_forms/{id}.
| Parameter | Type | Description |
|---|---|---|
inspection_form_id * | Inspection form id. |
fleetio_get_issue Get issue
One issue with full detail (state, priority, asset, reporter, due date, resolution). Optionally include comments, labels, the asset, custom fields, documents or images. GET /issues/{id}.
| Parameter | Type | Description |
|---|---|---|
issue_id * | Issue id (not the issue number). | |
includes | array | Extra attributes to include. |
fleetio_list_work_order_line_items List work order line items
The line items (labor, parts, fees) of ONE work order. GET /work_orders/{id}/work_order_line_items.
| Parameter | Type | Description |
|---|---|---|
work_order_id * | Work order id. | |
per_page | integer | Records per page, 2-100 (default 25). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_list_service_entry_line_items List service entry line items
The line items (tasks, parts, labor) of ONE service entry. GET /service_entries/{id}/service_entry_line_items.
| Parameter | Type | Description |
|---|---|---|
service_entry_id * | Service entry id. | |
per_page | integer | Records per page, 2-100 (default 25). |
start_cursor | string | Cursor from the previous reply's next_cursor; omit for the first page. |
fleetio_create_issue Create issue
WRITE: create a new issue (a reported defect) on a vehicle or equipment. Fleetio may notify the people who watch or are assigned to it. Needs the asset id (fleetio_list_vehicles) and a summary; the report time defaults to now. Does not close, resolve or delete anything. POST /issues.
| Parameter | Type | Description |
|---|---|---|
asset_id * | integer | Id of the vehicle or equipment the issue is about. |
summary * | string | Short summary of the problem. |
asset_type | string | Asset type (default Vehicle). |
assigned_contact_ids | array | Contact ids to assign (max 10). |
description | string | Longer description. |
due_date | string | When it should be resolved by (ISO 8601). |
issue_priority_id | integer | Priority id (fleetio_list_issue_priorities). |
reported_at | string | When the issue was reported (ISO 8601, default now). |
reported_by_id | integer | Contact id of the reporter. |
fleetio_create_meter_entry Add meter entry
WRITE: record an odometer / engine-hour meter reading for a vehicle (primary meter, or the secondary meter with secondary=true). Fleetio rejects a value that breaks the sequence (a reading must not be lower than an earlier one by date); it cannot be deleted from here. The date defaults to now. A new reading can make service reminders due or overdue, and Fleetio may notify their watchers. POST /meter_entries.
| Parameter | Type | Description |
|---|---|---|
value * | number | Meter value in the vehicle's meter unit (miles, km or hours). |
vehicle_id * | integer | Vehicle id. |
date | string | When the reading was taken (ISO 8601, default now). |
secondary | boolean | true = the vehicle's secondary meter (default: primary). |
fleetio_add_comment Add comment
WRITE: add a comment to an issue, work order, service entry, service reminder, vehicle or part. Fleetio notifies the watchers of that record (and anyone @mentioned in the text). Comments added here cannot be edited or deleted by this server. POST /comments.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment text. |
commentable_id * | integer | Id of the record (not its number). |
commentable_type * | string | Type of the record to comment on. |