Fleetio MCP by usefulapi

v1.28.1
io.usefulapi/fleetio Checked 1 day ago Published 6 hours ago

Read 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.

ParameterTypeDescription
per_pageintegerRecords per page, 2-100 (default 25).
start_cursorstringCursor 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
group_idintegerGroup id
license_platestringLicense plate (contains, case-insensitive)
namestringVehicle name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: name, created_at, updated_at, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly records with last update time at or before this moment (ISO 8601).
vehicle_status_idintegerVehicle status id
vehicle_type_idintegerVehicle type id
vinstringVIN (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).

ParameterTypeDescription
vehicle_id *Vehicle id.
categorystringReading category.
date_afterstringOnly records with reading date at or after this moment (ISO 8601).
date_beforestringOnly records with reading date at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, date, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
categorystringReading category.
date_afterstringOnly records with reading date at or after this moment (ISO 8601).
date_beforestringOnly records with reading date at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, date, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
vehicle_idintegerVehicle 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).

ParameterTypeDescription
contact_idintegerContact (driver) id
ended_at_afterstringOnly records with assignment end at or after this moment (ISO 8601).
ended_at_beforestringOnly records with assignment end at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: started_at, ended_at, created_at, updated_at, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
started_at_afterstringOnly records with assignment start at or after this moment (ISO 8601).
started_at_beforestringOnly records with assignment start at or before this moment (ISO 8601).
vehicle_idintegerVehicle 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).

ParameterTypeDescription
brandstringBrand (contains, case-insensitive)
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
group_idintegerGroup id
modelstringModel (contains, case-insensitive)
namestringEquipment name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
serial_numberstringSerial number (contains, case-insensitive)
sort_bystringSort field (default: Fleetio's default order). One of: created_at, updated_at, in_service_date, out_of_service_date, purchase_date, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly 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).

ParameterTypeDescription
contact_idintegerTechnician (contact) id
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
invoice_numberstringInvoice number
numberintegerWork order number
per_pageintegerRecords per page, 2-100 (default 25).
purchase_order_numberstringPurchase order number
sort_bystringSort field (default: Fleetio's default order). One of: created_at, updated_at, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly records with last update time at or before this moment (ISO 8601).
vehicle_idintegerVehicle id
vendor_idintegerVendor id
work_order_status_namestringWork 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).

ParameterTypeDescription
completed_at_afterstringOnly records with completion date at or after this moment (ISO 8601).
completed_at_beforestringOnly records with completion date at or before this moment (ISO 8601).
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
referencestringReference (contains, case-insensitive)
sort_bystringSort field (default: Fleetio's default order). One of: id, completed_at, updated_at, created_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly 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).

ParameterTypeDescription
vehicle_id *Vehicle id.
completed_at_afterstringOnly records with completion date at or after this moment (ISO 8601).
completed_at_beforestringOnly records with completion date at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
referencestringReference (contains, case-insensitive)
sort_bystringSort field (default: Fleetio's default order). One of: id, completed_at, updated_at, created_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
per_pageintegerRecords per page, 2-100 (default 25).
service_reminder_statusstringReminder status.
service_task_idintegerService task id
sort_bystringSort field (default: Fleetio's default order). One of: id, next_due_at, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
vehicle_idintegerVehicle 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
due_date_afterstringOnly records with due date at or after this moment (ISO 8601).
due_date_beforestringOnly records with due date at or before this moment (ISO 8601).
equipment_idintegerEquipment id
numberintegerIssue number
per_pageintegerRecords per page, 2-100 (default 25).
reported_at_afterstringOnly records with report time at or after this moment (ISO 8601).
reported_at_beforestringOnly records with report time at or before this moment (ISO 8601).
reported_by_idintegerReporter (contact) id
sort_bystringSort field (default: Fleetio's default order). One of: due_date, resolved_at, reported_at, updated_at, created_at, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
statestringIssue state.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly records with last update time at or before this moment (ISO 8601).
vehicle_idintegerVehicle 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).

ParameterTypeDescription
codestringFault code
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
last_occurred_at_afterstringOnly records with last occurrence at or after this moment (ISO 8601).
last_occurred_at_beforestringOnly records with last occurrence at or before this moment (ISO 8601).
namestringFault name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, last_occurred_at, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly records with last update time at or before this moment (ISO 8601).
vehicle_idintegerVehicle 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
titlestringForm title (contains, case-insensitive)
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
inspection_form_idintegerInspection form id
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: created_at, submitted_at, updated_at, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
submitted_at_afterstringOnly records with submit time at or after this moment (ISO 8601).
submitted_at_beforestringOnly records with submit time at or before this moment (ISO 8601).
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly records with last update time at or before this moment (ISO 8601).
user_idintegerSubmitting user id
vehicle_idintegerVehicle 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
date_afterstringOnly records with fill-up date at or after this moment (ISO 8601).
date_beforestringOnly records with fill-up date at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, date, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly records with last update time at or before this moment (ISO 8601).
vehicle_idintegerVehicle id
vendor_idintegerVendor 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
manufacturer_part_numberstringManufacturer part number (contains, case-insensitive)
numberstringPart number (contains, case-insensitive)
part_category_idintegerPart category id
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
upcstringUPC
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly 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).

ParameterTypeDescription
part_idintegerPart id
part_location_idintegerPart location id
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
emailstringEmail (contains, case-insensitive)
employee_numberstringEmployee number
group_idintegerGroup id
last_namestringLast name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: group_id, created_at, updated_at, id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly 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).

ParameterTypeDescription
created_at_afterstringOnly records with creation time at or after this moment (ISO 8601).
created_at_beforestringOnly records with creation time at or before this moment (ISO 8601).
external_idstringExternal id
namestringVendor name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
updated_at_afterstringOnly records with last update time at or after this moment (ISO 8601).
updated_at_beforestringOnly 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).

ParameterTypeDescription
next_due_at_afterstringOnly records with next due date at or after this moment (ISO 8601).
next_due_at_beforestringOnly records with next due date at or before this moment (ISO 8601).
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, due_soon_at, last_sent_at, next_due_at, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
vehicle_idintegerVehicle id
vehicle_renewal_reminder_statusstringReminder status.
vehicle_renewal_type_idintegerRenewal 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).

ParameterTypeDescription
commentable_idintegerId of the commented record
commentable_typestringType of the commented record.
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor from the previous reply's next_cursor; omit for the first page.
user_idintegerAuthor 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).

ParameterTypeDescription
namestringStatus name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringType name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringStatus name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringPriority name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringGroup name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringLabel name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringTask name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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).

ParameterTypeDescription
namestringPlace name (contains, case-insensitive)
per_pageintegerRecords per page, 2-100 (default 25).
sort_bystringSort field (default: Fleetio's default order). One of: id, name, created_at, updated_at.
sort_directionstringSort direction (default asc; used with sort_by).
start_cursorstringCursor 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}.

ParameterTypeDescription
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}.

ParameterTypeDescription
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}.

ParameterTypeDescription
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}.

ParameterTypeDescription
service_entry_id *Service entry id.

fleetio_get_part Get part

One part with full detail (number, manufacturer, category, costs). GET /parts/{id}.

ParameterTypeDescription
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}.

ParameterTypeDescription
contact_id *Contact id.

fleetio_get_vendor Get vendor

One vendor with full detail. GET /vendors/{id}.

ParameterTypeDescription
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}.

ParameterTypeDescription
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}.

ParameterTypeDescription
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}.

ParameterTypeDescription
issue_id *Issue id (not the issue number).
includesarrayExtra 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.

ParameterTypeDescription
work_order_id *Work order id.
per_pageintegerRecords per page, 2-100 (default 25).
start_cursorstringCursor 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.

ParameterTypeDescription
service_entry_id *Service entry id.
per_pageintegerRecords per page, 2-100 (default 25).
start_cursorstringCursor 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.

ParameterTypeDescription
asset_id *integerId of the vehicle or equipment the issue is about.
summary *stringShort summary of the problem.
asset_typestringAsset type (default Vehicle).
assigned_contact_idsarrayContact ids to assign (max 10).
descriptionstringLonger description.
due_datestringWhen it should be resolved by (ISO 8601).
issue_priority_idintegerPriority id (fleetio_list_issue_priorities).
reported_atstringWhen the issue was reported (ISO 8601, default now).
reported_by_idintegerContact 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.

ParameterTypeDescription
value *numberMeter value in the vehicle's meter unit (miles, km or hours).
vehicle_id *integerVehicle id.
datestringWhen the reading was taken (ISO 8601, default now).
secondarybooleantrue = 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.

ParameterTypeDescription
comment *stringComment text.
commentable_id *integerId of the record (not its number).
commentable_type *stringType of the record to comment on.