Fleetio

App · 34 actions

Manage fleet vehicles, issues, work orders, fuel and meter readings, and inspections.

Actions

ActionWhat it does
Add commentAdd a comment to a vehicle, issue, work order, service entry, fuel entry, contact or vendor.
Close issueClose an issue without resolving it, with a note saying why.
Create contactAdd a person, such as a driver or technician.
Create fuel entryRecord a fill-up for a vehicle, with its odometer reading.
Create issueReport a problem with a vehicle.
Create meter entryRecord an odometer or hour meter reading for a vehicle.
Create vehicleAdd a vehicle to the fleet.
Create work orderOpen a work order for maintenance on a vehicle.
Delete contactDelete a contact for good.
Delete issueDelete an issue for good.
Delete vehicleDelete a vehicle and its records for good.
Delete work orderDelete a work order for good.
Get contactGet one contact with their phone numbers, address, license and roles.
Get current userGet the Fleetio user the API key acts as.
Get issueGet one issue with its state, priority, vehicle and who reported it.
Get submitted inspectionGet one completed inspection with each item's result.
Get vehicleGet one vehicle with its meters, status, assigned driver and specs.
Get work orderGet one work order with its status, line items, totals and issues.
List contactsList the account's people: drivers, technicians and other staff.
List fuel entriesList fuel purchases, filtered by vehicle, vendor or date.
List issuesList reported vehicle problems, filtered by state, vehicle or time.
List meter entriesList odometer and hour meter readings, filtered by vehicle.
List service remindersList scheduled maintenance reminders, filtered by vehicle or whether they're due.
List submitted inspectionsList completed vehicle inspections, filtered by vehicle, form or time.
List vehicle statusesList the statuses a vehicle can have, such as Active or In Shop.
List vehicle typesList the kinds of vehicle in the account, such as Car or Truck.
List vehiclesList the fleet's vehicles, archived ones left out, filtered by name, plate, VIN, status, type or group.
List work order statusesList the statuses a work order can have, such as Open or Completed.
List work ordersList maintenance work orders, filtered by vehicle, vendor, number or time.
Resolve issueMark an open issue resolved, with a note saying how.
Update contactChange a contact's details.
Update issueChange an issue's summary, description, priority or due date.
Update vehicleChange a vehicle's details.
Update work orderChange a work order's status, dates, vendor or notes.

Add comment

Add a comment to a vehicle, issue, work order, service entry, fuel entry, contact or vendor.

Inputs

Record typecommentable_typetextRequired
What kind of record the comment is on.One of: Vehicle, Issue, WorkOrder (Work order), ServiceEntry (Service entry), FuelEntry (Fuel entry), Contact, Vendor.
Record IDcommentable_idnumberRequired
The ID of the record the comment is on.
CommentcommenttextRequired
The comment.
Titletitletext
A title for the comment.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "comment": "example",
    "commentable_id": 1,
    "commentable_type": "Contact",
    "created_at": "example",
    "html_content": "example",
    "id": 1,
    "rich_content": {},
    "title": "example",
    "updated_at": "example",
    "user_full_name": "example",
    "user_id": 1,
    "user_image_url": "example",
    "with_mentions": true
  }
}

Close issue

Close an issue without resolving it, with a note saying why.

Inputs

Issueissue_idnumberRequired
The issue's ID.
NotenotetextRequired
Why the issue is closed.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "asset": {},
    "asset_type": "Vehicle",
    "attachment_permissions": {},
    "closed_at": "example",
    "closed_by": {},
    "closed_note": "example",
    "comments_count": 1,
    "created_at": "example",
    "creation_type": "manual",
    "custom_fields": {},
    "description": "example",
    "documents_count": 1,
    "due_date": "example",
    "due_meter_value": 1,
    "due_secondary_meter_value": 1,
    "fault": {},
    "id": 1,
    "images_count": 1,
    "is_overdue": true,
    "issue_priority": {},
    "labels": [
      {}
    ],
    "number": 1,
    "reported_at": "example",
    "reported_by": {},
    "resolvable": {},
    "resolvable_type": "example",
    "resolved_at": "example",
    "resolved_by": {},
    "resolved_note": "example",
    "state": "open",
    "submitted_inspection_form": {},
    "summary": "example",
    "updated_at": "example",
    "watchers_count": 1
  }
}

Create contact

Add a person, such as a driver or technician.

Inputs

First namefirst_nametextRequired
The contact's first name.
Last namelast_nametext
The contact's last name.
Emailemailtext
The contact's email address.
Mobile phonemobile_phone_numbertext
The contact's mobile phone number.
Job titlejob_titletext
The contact's job title.
Employee numberemployee_numbertext
The contact's employee number, unique.
Groupgroup_idnumber
The group the contact belongs to.
Vehicle operatorvehicle_operatortrue/false
Whether the contact drives vehicles and can be assigned one.
Techniciantechniciantrue/false
Whether the contact works on vehicles.
Employeeemployeetrue/false
Whether the contact is an employee.
License numberlicense_numbertext
The contact's driver's license number.
License expirationlicense_expirationdate
When the contact's driver's license expires.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "account_membership_id": 1,
    "archived_at": "example",
    "birth_date": "example",
    "city": "example",
    "comments_count": 1,
    "country": "example",
    "created_at": "example",
    "custom_fields": {},
    "default_image_url": "example",
    "documents_count": 1,
    "email": "example",
    "employee": true,
    "employee_number": "example",
    "first_name": "example",
    "group_id": 1,
    "group_name": "example",
    "home_phone_number": "example",
    "hourly_labor_rate": 1,
    "id": 1,
    "images_count": 1,
    "job_title": "example",
    "last_name": "example",
    "leave_date": "example",
    "license_class": "example",
    "license_expiration": "example",
    "license_number": "example",
    "license_state": "example",
    "middle_name": "example",
    "mobile_phone_number": "example",
    "name": "example",
    "other_phone_number": "example",
    "postal_code": "example",
    "region": "example",
    "start_date": "example",
    "street_address": "example",
    "street_address_line_2": "example",
    "technician": true,
    "updated_at": "example",
    "user": {},
    "vehicle_operator": true,
    "work_phone_number": "example"
  }
}

Create fuel entry

Record a fill-up for a vehicle, with its odometer reading.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle that was filled up.
Datedatedate and timeRequired
When the fill-up happened.
Meter readingmeter_valuenumberRequired
The vehicle's meter reading at the fill-up.
US gallonsus_gallonsnumber
How much fuel, in US gallons, for a vehicle measured in US gallons.At least 0.
Literslitersnumber
How much fuel, in liters, for a vehicle measured in liters.At least 0.
UK gallonsuk_gallonsnumber
How much fuel, in UK gallons, for a vehicle measured in UK gallons.At least 0.
Price per unitprice_per_volume_unitnumber
The price per gallon or liter.At least 0.
Vendorvendor_idnumber
The fuel station or vendor.
Referencereferencetext
A reference, such as the receipt or transaction number.
Partial fill-uppartialtrue/false
Whether the tank wasn't filled up all the way.
Personalpersonaltrue/false
Whether the fuel was for personal use.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "attachment_permissions": {},
    "comments": [
      {}
    ],
    "comments_count": 1,
    "cost_per_hr": 1,
    "cost_per_km": 1,
    "cost_per_mi": 1,
    "created_at": "example",
    "created_by": {},
    "custom_fields": {},
    "date": "example",
    "documents": [
      {}
    ],
    "documents_count": 1,
    "external_id": "example",
    "fuel_economy_for_current_user": "example",
    "fuel_economy_units_for_current_user": "example",
    "fuel_type_id": 1,
    "fuel_type_name": "example",
    "geolocation": {},
    "id": 1,
    "images": [
      {}
    ],
    "images_count": 1,
    "is_sample": true,
    "kpl": 1,
    "liters": "example",
    "liters_per_hr": 1,
    "lp100k": 1,
    "map_previews": {},
    "meter_entry": {},
    "mpg_uk": 1,
    "mpg_us": 1,
    "partial": true,
    "personal": true,
    "price_per_volume_unit": 1,
    "raw_transaction_data": {},
    "reference": "example",
    "region": "example",
    "reset": true,
    "total_amount": 1,
    "uk_gallons": "example",
    "uk_gallons_per_hr": 1,
    "updated_at": "example",
    "us_gallons": "example",
    "us_gallons_per_hr": 1,
    "usage_in_hr": "example",
    "usage_in_km": "example",
    "usage_in_mi": "example",
    "vehicle_id": 1,
    "vehicle_name": "example",
    "vendor_id": 1,
    "vendor_name": "example"
  }
}

Create issue

Report a problem with a vehicle.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle with the problem.
SummarysummarytextRequired
A short summary of the problem.
Descriptiondescriptiontext
A longer description of the problem.
Priorityissue_priority_idnumber
How urgent the issue is.
Reported byreported_by_idnumber
The contact who reported the issue.
Duedue_datedate and time
When it should be resolved by.
Due at meter readingdue_meter_valuenumber
The meter reading it should be resolved by.
Reported atreported_atdate and time
When the problem was reported. Now, when left empty.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "asset": {},
    "asset_type": "Vehicle",
    "attachment_permissions": {},
    "closed_at": "example",
    "closed_by": {},
    "closed_note": "example",
    "comments_count": 1,
    "created_at": "example",
    "creation_type": "manual",
    "custom_fields": {},
    "description": "example",
    "documents_count": 1,
    "due_date": "example",
    "due_meter_value": 1,
    "due_secondary_meter_value": 1,
    "fault": {},
    "id": 1,
    "images_count": 1,
    "is_overdue": true,
    "issue_priority": {},
    "labels": [
      {}
    ],
    "number": 1,
    "reported_at": "example",
    "reported_by": {},
    "resolvable": {},
    "resolvable_type": "example",
    "resolved_at": "example",
    "resolved_by": {},
    "resolved_note": "example",
    "state": "open",
    "submitted_inspection_form": {},
    "summary": "example",
    "updated_at": "example",
    "watchers_count": 1
  }
}

Create meter entry

Record an odometer or hour meter reading for a vehicle.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle that was read.
ReadingvaluenumberRequired
The reading. It must be higher than earlier readings.At least 0.
Datedatedate and timeRequired
When the reading was taken.
Metermeter_typetext
Choose Secondary for a vehicle's second meter, such as an hour meter on a truck.One of: secondary.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "auto_voided_at": "example",
    "category": "example",
    "created_at": "example",
    "date": "example",
    "gps_provider": {},
    "id": 1,
    "meter_type": "example",
    "meterable_id": 1,
    "meterable_type": "example",
    "type": "example",
    "updated_at": "example",
    "value": "example",
    "vehicle_id": 1,
    "void": true
  }
}

Create vehicle

Add a vehicle to the fleet.

Inputs

NamenametextRequired
The vehicle's name, unique in the account (often a unit number).
Vehicle typevehicle_type_idnumberRequired
The kind of vehicle, such as Car or Truck.
Statusvehicle_status_idnumberRequired
The vehicle's status, such as Active or Out of Service.
Meter unitprimary_meter_unittextRequired
What the vehicle's main meter counts.One of: mi (Miles), km (Kilometers), hr (Hours).
Makemaketext
The manufacturer, such as Ford.
Modelmodeltext
The model, such as F-150.
Yearyearnumber
The model year.From 1900 to 2100.
Trimtrimtext
The trim level.
VINvintext
The vehicle identification number, unique.
License platelicense_platetext
The license plate number.
Colorcolortext
The vehicle's color.
Registration stateregistration_statetext
The state, province or territory it is registered in.
Ownershipownershiptext
How the fleet holds the vehicle.One of: owned, leased, rented, customer, financed, rent_to_own (Rent to own).
Groupgroup_idnumber
The group (such as a region or department) it belongs to.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "account_id": 1,
    "ai_enabled": true,
    "archived_at": "example",
    "assetable_type": "Vehicle",
    "axle_config_id": 1,
    "color": "example",
    "comments_count": 1,
    "current_location_entry": {},
    "current_location_entry_id": 1,
    "custom_fields": {},
    "default_image_url": "example",
    "default_image_url_large": "example",
    "default_image_url_medium": "example",
    "default_image_url_small": "example",
    "documents_count": 1,
    "driver": {},
    "estimated_replacement_mileage": "example",
    "estimated_resale_price_cents": 1,
    "estimated_service_months": 1,
    "external_ids": {},
    "fuel_entries_count": 1,
    "fuel_type_id": 1,
    "fuel_type_name": "example",
    "fuel_volume_units": "us_gallons",
    "group_ancestry": "example",
    "group_id": 1,
    "group_name": "example",
    "id": 1,
    "images_count": 1,
    "in_service_date": "example",
    "in_service_meter_value": "example",
    "inspection_schedules_count": 1,
    "is_sample": true,
    "issues_count": 1,
    "job_assignment": {},
    "labels": [
      {}
    ],
    "license_plate": "example",
    "loan_account_number": "example",
    "loan_ended_at": "example",
    "loan_interest_rate": 1,
    "loan_notes": "example",
    "loan_started_at": "example",
    "loan_vendor_id": 1,
    "loan_vendor_name": "example",
    "make": "example",
    "meter_name": "example",
    "model": "example",
    "name": "example",
    "out_of_service_date": "example",
    "out_of_service_meter_value": "example",
    "ownership": "owned",
    "primary_meter_date": "example",
    "primary_meter_unit": "example",
    "primary_meter_usage_per_day": "example",
    "primary_meter_value": "example",
    "registration_expiration_month": 1,
    "registration_state": "example",
    "secondary_meter_date": "example",
    "secondary_meter_name": "example",
    "secondary_meter_unit": "example",
    "secondary_meter_usage_per_day": "example",
    "secondary_meter_value": "example",
    "service_entries_count": 1,
    "service_reminders_count": 1,
    "specs": {},
    "system_of_measurement": "imperial",
    "trim": "example",
    "vehicle_renewal_reminders_count": 1,
    "vehicle_status_color": "example",
    "vehicle_status_id": 1,
    "vehicle_status_name": "example",
    "vehicle_type_id": 1,
    "vehicle_type_name": "example",
    "vin": "example",
    "work_orders_count": 1,
    "year": 1
  }
}

Create work order

Open a work order for maintenance on a vehicle.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle the work is on.
Statuswork_order_status_idnumberRequired
The work order's status, such as Open or Completed.
Issued atissued_atdate and time
When the work order was issued. Now, when left empty.
Descriptiondescriptiontext
What the work is.
Scheduled atscheduled_atdate and time
When the work is scheduled.
Started atstarted_atdate and time
When the work started.
Expected completionexpected_completed_atdate and time
When the work should be done.
Completed atcompleted_atdate and time
When the work was done.
Vendorvendor_idnumber
The shop or vendor doing the work.
Assigned tocontact_idnumber
The contact the work order is assigned to.
Purchase order numberpurchase_order_numbertext
A purchase order number for the work.
Invoice numberinvoice_numbertext
The vendor's invoice number.
Issue IDsissue_idslist
IDs of the vehicle's open issues this work order fixes.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "attachment_permissions": {},
    "comments": [
      {}
    ],
    "comments_count": 1,
    "completed_at": "example",
    "contact_id": 1,
    "contact_image_url": "example",
    "contact_name": "example",
    "created_at": "example",
    "created_by_id": 1,
    "custom_fields": {},
    "description": "example",
    "discount": 1,
    "discount_percentage": 1,
    "discount_type": "example",
    "documents": [
      {}
    ],
    "documents_count": 1,
    "duration_in_seconds": 1,
    "ending_meter_entry": {},
    "ending_meter_same_as_start": true,
    "ending_secondary_meter_entry": {},
    "expected_completed_at": "example",
    "id": 1,
    "images": [
      {}
    ],
    "images_count": 1,
    "invoice_number": "example",
    "is_watched": true,
    "issued_at": "example",
    "issued_by_id": 1,
    "issued_by_name": "example",
    "issues": [
      {}
    ],
    "labels": [
      {}
    ],
    "labor_markup": 1,
    "labor_markup_percentage": 1,
    "labor_markup_type": "fixed",
    "labor_subtotal": 1,
    "labor_time_entries": [
      {}
    ],
    "labor_time_in_seconds": 1,
    "meter_entry": {},
    "number": "example",
    "parts_markup": 1,
    "parts_markup_percentage": 1,
    "parts_markup_type": "fixed",
    "parts_subtotal": 1,
    "purchase_order_number": "example",
    "scheduled_at": "example",
    "secondary_meter_entry": {},
    "started_at": "example",
    "starting_meter_entry": {},
    "starting_secondary_meter_entry": {},
    "state": "active",
    "subtotal": 1,
    "tax_1": 1,
    "tax_1_percentage": 1,
    "tax_1_type": "example",
    "tax_2": 1,
    "tax_2_percentage": 1,
    "tax_2_type": "example",
    "total_amount": 1,
    "updated_at": "example",
    "vehicle_company_asset_number": "example",
    "vehicle_id": 1,
    "vehicle_name": "example",
    "vendor_id": 1,
    "vendor_name": "example",
    "vmrs_repair_priority_class": {},
    "watchers_count": 1,
    "work_order_line_items": [
      {}
    ],
    "work_order_status_color": "example",
    "work_order_status_id": 1,
    "work_order_status_name": "example",
    "work_order_sub_line_items": [
      {}
    ]
  }
}

Delete contact

Delete a contact for good.

Inputs

Contactcontact_idnumberRequired
The contact's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {}
}

Delete issue

Delete an issue for good.

Inputs

Issueissue_idnumberRequired
The issue's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {}
}

Delete vehicle

Delete a vehicle and its records for good.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle to delete.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {}
}

Delete work order

Delete a work order for good.

Inputs

Work orderwork_order_idnumberRequired
The work order's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {}
}

Get contact

Get one contact with their phone numbers, address, license and roles.

Inputs

Contactcontact_idnumberRequired
The contact's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "account_membership_id": 1,
    "archived_at": "example",
    "birth_date": "example",
    "city": "example",
    "comments_count": 1,
    "country": "example",
    "created_at": "example",
    "custom_fields": {},
    "default_image_url": "example",
    "documents_count": 1,
    "email": "example",
    "employee": true,
    "employee_number": "example",
    "first_name": "example",
    "group_id": 1,
    "group_name": "example",
    "home_phone_number": "example",
    "hourly_labor_rate": 1,
    "id": 1,
    "images_count": 1,
    "job_title": "example",
    "last_name": "example",
    "leave_date": "example",
    "license_class": "example",
    "license_expiration": "example",
    "license_number": "example",
    "license_state": "example",
    "middle_name": "example",
    "mobile_phone_number": "example",
    "name": "example",
    "other_phone_number": "example",
    "postal_code": "example",
    "region": "example",
    "start_date": "example",
    "street_address": "example",
    "street_address_line_2": "example",
    "technician": true,
    "updated_at": "example",
    "user": {},
    "vehicle_operator": true,
    "work_phone_number": "example"
  }
}

Get current user

Get the Fleetio user the API key acts as.

Inputs

None.

Outputs

dataobject
The User who owns the credentials making the request.
Example output
{
  "data": {
    "confirmed_at": "example",
    "contact_id": 1,
    "created_at": "example",
    "default_image_url": "example",
    "email": "example",
    "first_name": "example",
    "fuel_economy_units": "mpg_us",
    "has_multiple_accounts": true,
    "id": 1,
    "last_name": "example",
    "technician": true,
    "time_zone_name": "example",
    "time_zone_offset_in_seconds": 1,
    "unconfirmed_email": "example",
    "updated_at": "example",
    "username": "example"
  }
}

Get issue

Get one issue with its state, priority, vehicle and who reported it.

Inputs

Issueissue_idnumberRequired
The issue's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "asset": {},
    "asset_type": "Vehicle",
    "attachment_permissions": {},
    "closed_at": "example",
    "closed_by": {},
    "closed_note": "example",
    "comments_count": 1,
    "created_at": "example",
    "creation_type": "manual",
    "custom_fields": {},
    "description": "example",
    "documents_count": 1,
    "due_date": "example",
    "due_meter_value": 1,
    "due_secondary_meter_value": 1,
    "fault": {},
    "id": 1,
    "images_count": 1,
    "is_overdue": true,
    "issue_priority": {},
    "labels": [
      {}
    ],
    "number": 1,
    "reported_at": "example",
    "reported_by": {},
    "resolvable": {},
    "resolvable_type": "example",
    "resolved_at": "example",
    "resolved_by": {},
    "resolved_note": "example",
    "state": "open",
    "submitted_inspection_form": {},
    "summary": "example",
    "updated_at": "example",
    "watchers_count": 1
  }
}

Get submitted inspection

Get one completed inspection with each item's result.

Inputs

Submitted inspectionsubmitted_inspection_form_idnumberRequired
The submitted inspection's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "comments_count": 1,
    "contact_id": 1,
    "date": "example",
    "duration": "example",
    "failed_items": 1,
    "id": 1,
    "images_count": 1,
    "inspection_form": {},
    "started_at": "example",
    "starting_latitude": 1,
    "starting_longitude": 1,
    "submitted_at": "example",
    "submitted_inspection_items": [
      {}
    ],
    "submitted_latitude": 1,
    "submitted_longitude": 1,
    "user": "example",
    "vehicle_id": 1,
    "work_order": {}
  }
}

Get vehicle

Get one vehicle with its meters, status, assigned driver and specs.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "account_id": 1,
    "ai_enabled": true,
    "archived_at": "example",
    "assetable_type": "Vehicle",
    "axle_config_id": 1,
    "color": "example",
    "comments_count": 1,
    "current_location_entry": {},
    "current_location_entry_id": 1,
    "custom_fields": {},
    "default_image_url": "example",
    "default_image_url_large": "example",
    "default_image_url_medium": "example",
    "default_image_url_small": "example",
    "documents_count": 1,
    "driver": {},
    "estimated_replacement_mileage": "example",
    "estimated_resale_price_cents": 1,
    "estimated_service_months": 1,
    "external_ids": {},
    "fuel_entries_count": 1,
    "fuel_type_id": 1,
    "fuel_type_name": "example",
    "fuel_volume_units": "us_gallons",
    "group_ancestry": "example",
    "group_id": 1,
    "group_name": "example",
    "id": 1,
    "images_count": 1,
    "in_service_date": "example",
    "in_service_meter_value": "example",
    "inspection_schedules_count": 1,
    "is_sample": true,
    "issues_count": 1,
    "job_assignment": {},
    "labels": [
      {}
    ],
    "license_plate": "example",
    "loan_account_number": "example",
    "loan_ended_at": "example",
    "loan_interest_rate": 1,
    "loan_notes": "example",
    "loan_started_at": "example",
    "loan_vendor_id": 1,
    "loan_vendor_name": "example",
    "make": "example",
    "meter_name": "example",
    "model": "example",
    "name": "example",
    "out_of_service_date": "example",
    "out_of_service_meter_value": "example",
    "ownership": "owned",
    "primary_meter_date": "example",
    "primary_meter_unit": "example",
    "primary_meter_usage_per_day": "example",
    "primary_meter_value": "example",
    "registration_expiration_month": 1,
    "registration_state": "example",
    "secondary_meter_date": "example",
    "secondary_meter_name": "example",
    "secondary_meter_unit": "example",
    "secondary_meter_usage_per_day": "example",
    "secondary_meter_value": "example",
    "service_entries_count": 1,
    "service_reminders_count": 1,
    "specs": {},
    "system_of_measurement": "imperial",
    "trim": "example",
    "vehicle_renewal_reminders_count": 1,
    "vehicle_status_color": "example",
    "vehicle_status_id": 1,
    "vehicle_status_name": "example",
    "vehicle_type_id": 1,
    "vehicle_type_name": "example",
    "vin": "example",
    "work_orders_count": 1,
    "year": 1
  }
}

Get work order

Get one work order with its status, line items, totals and issues.

Inputs

Work orderwork_order_idnumberRequired
The work order's ID.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "attachment_permissions": {},
    "comments": [
      {}
    ],
    "comments_count": 1,
    "completed_at": "example",
    "contact_id": 1,
    "contact_image_url": "example",
    "contact_name": "example",
    "created_at": "example",
    "created_by_id": 1,
    "custom_fields": {},
    "description": "example",
    "discount": 1,
    "discount_percentage": 1,
    "discount_type": "example",
    "documents": [
      {}
    ],
    "documents_count": 1,
    "duration_in_seconds": 1,
    "ending_meter_entry": {},
    "ending_meter_same_as_start": true,
    "ending_secondary_meter_entry": {},
    "expected_completed_at": "example",
    "id": 1,
    "images": [
      {}
    ],
    "images_count": 1,
    "invoice_number": "example",
    "is_watched": true,
    "issued_at": "example",
    "issued_by_id": 1,
    "issued_by_name": "example",
    "issues": [
      {}
    ],
    "labels": [
      {}
    ],
    "labor_markup": 1,
    "labor_markup_percentage": 1,
    "labor_markup_type": "fixed",
    "labor_subtotal": 1,
    "labor_time_entries": [
      {}
    ],
    "labor_time_in_seconds": 1,
    "meter_entry": {},
    "number": "example",
    "parts_markup": 1,
    "parts_markup_percentage": 1,
    "parts_markup_type": "fixed",
    "parts_subtotal": 1,
    "purchase_order_number": "example",
    "scheduled_at": "example",
    "secondary_meter_entry": {},
    "started_at": "example",
    "starting_meter_entry": {},
    "starting_secondary_meter_entry": {},
    "state": "active",
    "subtotal": 1,
    "tax_1": 1,
    "tax_1_percentage": 1,
    "tax_1_type": "example",
    "tax_2": 1,
    "tax_2_percentage": 1,
    "tax_2_type": "example",
    "total_amount": 1,
    "updated_at": "example",
    "vehicle_company_asset_number": "example",
    "vehicle_id": 1,
    "vehicle_name": "example",
    "vendor_id": 1,
    "vendor_name": "example",
    "vmrs_repair_priority_class": {},
    "watchers_count": 1,
    "work_order_line_items": [
      {}
    ],
    "work_order_status_color": "example",
    "work_order_status_id": 1,
    "work_order_status_name": "example",
    "work_order_sub_line_items": [
      {}
    ]
  }
}

List contacts

List the account's people: drivers, technicians and other staff.

Inputs

Email containsemailtext
Only contacts whose email contains this.
Last name containslast_nametext
Only contacts whose last name contains this.
Groupgroup_idnumber
Only contacts in this group.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Orderordertext
The order to return records in.One of: created_at:desc (Newest first), created_at:asc (Oldest first), updated_at:desc (Recently updated first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "account_membership_id": 1,
        "archived_at": "example",
        "birth_date": "example",
        "city": "example",
        "comments_count": 1,
        "country": "example",
        "created_at": "example",
        "custom_fields": {},
        "default_image_url": "example",
        "documents_count": 1,
        "email": "example",
        "employee": true,
        "employee_number": "example",
        "first_name": "example",
        "group_id": 1,
        "group_name": "example",
        "home_phone_number": "example",
        "hourly_labor_rate": 1,
        "id": 1,
        "images_count": 1,
        "job_title": "example",
        "last_name": "example",
        "leave_date": "example",
        "license_class": "example",
        "license_expiration": "example",
        "license_number": "example",
        "license_state": "example",
        "middle_name": "example",
        "mobile_phone_number": "example",
        "name": "example",
        "other_phone_number": "example",
        "postal_code": "example",
        "region": "example",
        "start_date": "example",
        "street_address": "example",
        "street_address_line_2": "example",
        "technician": true,
        "updated_at": "example",
        "user": {},
        "vehicle_operator": true,
        "work_phone_number": "example"
      }
    ],
    "start_cursor": "example"
  }
}

List fuel entries

List fuel purchases, filtered by vehicle, vendor or date.

Inputs

Vehiclevehicle_idnumber
Only records for this vehicle.
Filled up afterdate_afterdate and time
Only fill-ups on or after this time.
Created aftercreated_afterdate and time
Only records added at or after this time.
Orderordertext
The order to return records in.One of: date:desc (Most recent date first), date:asc (Oldest date first), created_at:desc (Newest first), updated_at:desc (Recently updated first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "attachment_permissions": {},
        "comments": [
          {}
        ],
        "comments_count": 1,
        "cost_per_hr": 1,
        "cost_per_km": 1,
        "cost_per_mi": 1,
        "created_at": "example",
        "created_by": {},
        "custom_fields": {},
        "date": "example",
        "documents": [
          {}
        ],
        "documents_count": 1,
        "external_id": "example",
        "fuel_economy_for_current_user": "example",
        "fuel_economy_units_for_current_user": "example",
        "fuel_type_id": 1,
        "fuel_type_name": "example",
        "geolocation": {},
        "id": 1,
        "images": [
          {}
        ],
        "images_count": 1,
        "is_sample": true,
        "kpl": 1,
        "liters": "example",
        "liters_per_hr": 1,
        "lp100k": 1,
        "map_previews": {},
        "meter_entry": {},
        "mpg_uk": 1,
        "mpg_us": 1,
        "partial": true,
        "personal": true,
        "price_per_volume_unit": 1,
        "raw_transaction_data": {},
        "reference": "example",
        "region": "example",
        "reset": true,
        "total_amount": 1,
        "uk_gallons": "example",
        "uk_gallons_per_hr": 1,
        "updated_at": "example",
        "us_gallons": "example",
        "us_gallons_per_hr": 1,
        "usage_in_hr": "example",
        "usage_in_km": "example",
        "usage_in_mi": "example",
        "vehicle_id": 1,
        "vehicle_name": "example",
        "vendor_id": 1,
        "vendor_name": "example"
      }
    ],
    "start_cursor": "example"
  }
}

List issues

List reported vehicle problems, filtered by state, vehicle or time.

Inputs

Statestatetext
Only issues in this state.One of: open, resolved, closed.
Vehiclevehicle_idnumber
Only records for this vehicle.
Reported afterreported_afterdate and time
Only issues reported at or after this time.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Orderordertext
The order to return records in.One of: created_at:desc (Newest first), created_at:asc (Oldest first), updated_at:desc (Recently updated first), reported_at:desc (Most recently reported first), due_date:asc (Due soonest first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "asset": {},
        "asset_type": "Vehicle",
        "attachment_permissions": {},
        "closed_at": "example",
        "closed_by": {},
        "closed_note": "example",
        "comments_count": 1,
        "created_at": "example",
        "creation_type": "manual",
        "custom_fields": {},
        "description": "example",
        "documents_count": 1,
        "due_date": "example",
        "due_meter_value": 1,
        "due_secondary_meter_value": 1,
        "fault": {},
        "id": 1,
        "images_count": 1,
        "is_overdue": true,
        "issue_priority": {},
        "labels": [
          {}
        ],
        "number": 1,
        "reported_at": "example",
        "reported_by": {},
        "resolvable": {},
        "resolvable_type": "example",
        "resolved_at": "example",
        "resolved_by": {},
        "resolved_note": "example",
        "state": "open",
        "submitted_inspection_form": {},
        "summary": "example",
        "updated_at": "example",
        "watchers_count": 1
      }
    ],
    "start_cursor": "example"
  }
}

List meter entries

List odometer and hour meter readings, filtered by vehicle.

Inputs

Vehiclevehicle_idnumber
Only records for this vehicle.
Created aftercreated_afterdate and time
Only records added at or after this time.
Orderordertext
The order to return records in.One of: date:desc (Most recent date first), date:asc (Oldest date first), created_at:desc (Newest first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "auto_voided_at": "example",
        "category": "example",
        "created_at": "example",
        "date": "example",
        "gps_provider": {},
        "id": 1,
        "meter_type": "example",
        "meterable_id": 1,
        "meterable_type": "example",
        "type": "example",
        "updated_at": "example",
        "value": "example",
        "vehicle_id": 1,
        "void": true
      }
    ],
    "start_cursor": "example"
  }
}

List service reminders

List scheduled maintenance reminders, filtered by vehicle or whether they're due.

Inputs

Vehiclevehicle_idnumber
Only records for this vehicle.
Statusstatustext
Only reminders in this state.One of: overdue, due_soon (Due soon), ok, snoozed.
Orderordertext
The order to return records in.One of: next_due_at:asc (Next due first), created_at:desc (Newest first), updated_at:desc (Recently updated first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "active": true,
        "attachment_permissions": {},
        "comments": [
          {}
        ],
        "comments_count": 1,
        "created_at": "example",
        "due_soon_at": "example",
        "due_soon_meter_threshold": "example",
        "due_soon_meter_value": "example",
        "due_soon_secondary_meter_threshold": "example",
        "due_soon_secondary_meter_value": "example",
        "due_soon_time_threshold_frequency": "example",
        "due_soon_time_threshold_interval": 1,
        "forecasted_due_soon_at": "example",
        "forecasted_next_due_at": "example",
        "forecasted_primary_due_soon_at": "example",
        "forecasted_primary_next_due_at": "example",
        "forecasted_secondary_due_soon_at": "example",
        "forecasted_secondary_next_due_at": "example",
        "id": 1,
        "incomplete_work_orders": [
          {}
        ],
        "is_watched": true,
        "latest_occurrence": {},
        "meter_interval": "example",
        "meter_remaining_until_due": 1,
        "next_due_at": "example",
        "next_due_meter_value": "example",
        "next_due_secondary_meter_value": "example",
        "secondary_meter": true,
        "secondary_meter_interval": "example",
        "secondary_meter_remaining_until_due": 1,
        "service_program_line_item": {},
        "service_reminder_status_name": "example",
        "service_task_description": "example",
        "service_task_id": 1,
        "service_task_name": "example",
        "service_task_subtasks": [
          {}
        ],
        "snooze_until": "example",
        "starting_interval": true,
        "starting_meter_interval": "example",
        "starting_secondary_meter_interval": "example",
        "starting_time_frequency": "example",
        "starting_time_interval": 1,
        "time_frequency": "example",
        "time_interval": 1,
        "updated_at": "example",
        "users": [
          {}
        ],
        "vehicle_archived_at": "example",
        "vehicle_id": 1,
        "vehicle_meter_unit": "mi",
        "vehicle_secondary_meter_unit": "example",
        "watchers_count": 1
      }
    ],
    "start_cursor": "example"
  }
}

List submitted inspections

List completed vehicle inspections, filtered by vehicle, form or time.

Inputs

Vehiclevehicle_idnumber
Only records for this vehicle.
Inspection forminspection_form_idnumber
Only inspections made with this form.
Submitted aftersubmitted_afterdate and time
Only inspections submitted at or after this time.
Orderordertext
The order to return records in.One of: submitted_at:desc (Most recently submitted first), created_at:desc (Newest first), created_at:asc (Oldest first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "comments_count": 1,
        "contact_id": 1,
        "date": "example",
        "duration": "example",
        "failed_items": 1,
        "id": 1,
        "images_count": 1,
        "inspection_form": {},
        "started_at": "example",
        "starting_latitude": 1,
        "starting_longitude": 1,
        "submitted_at": "example",
        "submitted_inspection_items": [
          {}
        ],
        "submitted_latitude": 1,
        "submitted_longitude": 1,
        "user": "example",
        "vehicle_id": 1,
        "work_order": {}
      }
    ],
    "start_cursor": "example"
  }
}

List vehicle statuses

List the statuses a vehicle can have, such as Active or In Shop.

Inputs

Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "account_id": 1,
        "color": "example",
        "created_at": "example",
        "default": true,
        "id": 1,
        "name": "example",
        "position": 1,
        "updated_at": "example"
      }
    ],
    "start_cursor": "example"
  }
}

List vehicle types

List the kinds of vehicle in the account, such as Car or Truck.

Inputs

Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "account_id": 1,
        "created_at": "example",
        "default": true,
        "id": 1,
        "name": "example",
        "unarchived_vehicles_count": 1,
        "updated_at": "example",
        "vehicles_count": 1
      }
    ],
    "start_cursor": "example"
  }
}

List vehicles

List the fleet's vehicles, archived ones left out, filtered by name, plate, VIN, status, type or group.

Inputs

Name containsnametext
Only vehicles whose name contains this.
License plate containslicense_platetext
Only vehicles whose plate contains this.
VINvintext
Only the vehicle with this VIN.
Statusvehicle_status_idnumber
Only vehicles with this status.
Vehicle typevehicle_type_idnumber
Only vehicles of this type.
Groupgroup_idnumber
Only vehicles in this group.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Orderordertext
The order to return records in.One of: created_at:desc (Newest first), created_at:asc (Oldest first), updated_at:desc (Recently updated first), name:asc (Name, A to Z).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "account_id": 1,
        "ai_enabled": true,
        "archived_at": "example",
        "assetable_type": "Vehicle",
        "axle_config_id": 1,
        "color": "example",
        "comments_count": 1,
        "current_location_entry": {},
        "current_location_entry_id": 1,
        "custom_fields": {},
        "default_image_url": "example",
        "default_image_url_large": "example",
        "default_image_url_medium": "example",
        "default_image_url_small": "example",
        "documents_count": 1,
        "driver": {},
        "estimated_replacement_mileage": "example",
        "estimated_resale_price_cents": 1,
        "estimated_service_months": 1,
        "external_ids": {},
        "fuel_entries_count": 1,
        "fuel_type_id": 1,
        "fuel_type_name": "example",
        "fuel_volume_units": "us_gallons",
        "group_ancestry": "example",
        "group_id": 1,
        "group_name": "example",
        "id": 1,
        "images_count": 1,
        "in_service_date": "example",
        "in_service_meter_value": "example",
        "inspection_schedules_count": 1,
        "is_sample": true,
        "issues_count": 1,
        "job_assignment": {},
        "labels": [
          {}
        ],
        "license_plate": "example",
        "loan_account_number": "example",
        "loan_ended_at": "example",
        "loan_interest_rate": 1,
        "loan_notes": "example",
        "loan_started_at": "example",
        "loan_vendor_id": 1,
        "loan_vendor_name": "example",
        "make": "example",
        "meter_name": "example",
        "model": "example",
        "name": "example",
        "out_of_service_date": "example",
        "out_of_service_meter_value": "example",
        "ownership": "owned",
        "primary_meter_date": "example",
        "primary_meter_unit": "example",
        "primary_meter_usage_per_day": "example",
        "primary_meter_value": "example",
        "registration_expiration_month": 1,
        "registration_state": "example",
        "secondary_meter_date": "example",
        "secondary_meter_name": "example",
        "secondary_meter_unit": "example",
        "secondary_meter_usage_per_day": "example",
        "secondary_meter_value": "example",
        "service_entries_count": 1,
        "service_reminders_count": 1,
        "specs": {},
        "system_of_measurement": "imperial",
        "trim": "example",
        "vehicle_renewal_reminders_count": 1,
        "vehicle_status_color": "example",
        "vehicle_status_id": 1,
        "vehicle_status_name": "example",
        "vehicle_type_id": 1,
        "vehicle_type_name": "example",
        "vin": "example",
        "work_orders_count": 1,
        "year": 1
      }
    ],
    "start_cursor": "example"
  }
}

List work order statuses

List the statuses a work order can have, such as Open or Completed.

Inputs

Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "account_id": 1,
        "color": "example",
        "completed": true,
        "created_at": "example",
        "default": true,
        "description": "example",
        "id": 1,
        "name": "example",
        "position": 1,
        "updated_at": "example",
        "work_orders_count": 1
      }
    ],
    "start_cursor": "example"
  }
}

List work orders

List maintenance work orders, filtered by vehicle, vendor, number or time.

Inputs

Vehiclevehicle_idnumber
Only records for this vehicle.
Vendorvendor_idnumber
Only work orders for this vendor.
Numbernumbernumber
Only the work order with this number.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Orderordertext
The order to return records in.One of: created_at:desc (Newest first), created_at:asc (Oldest first), updated_at:desc (Recently updated first).
Limitper_pagenumber
How many records to return, up to 100. Fleetio returns 50 when empty.From 1 to 100.
Start cursorstart_cursortext
To get the next page, the next cursor from an earlier list.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "estimated_remaining_count": 1,
    "next_cursor": "example",
    "per_page": 1,
    "records": [
      {
        "attachment_permissions": {},
        "comments": [
          {}
        ],
        "comments_count": 1,
        "completed_at": "example",
        "contact_id": 1,
        "contact_image_url": "example",
        "contact_name": "example",
        "created_at": "example",
        "created_by_id": 1,
        "custom_fields": {},
        "description": "example",
        "discount": 1,
        "discount_percentage": 1,
        "discount_type": "example",
        "documents": [
          {}
        ],
        "documents_count": 1,
        "duration_in_seconds": 1,
        "ending_meter_entry": {},
        "ending_meter_same_as_start": true,
        "ending_secondary_meter_entry": {},
        "expected_completed_at": "example",
        "id": 1,
        "images": [
          {}
        ],
        "images_count": 1,
        "invoice_number": "example",
        "is_watched": true,
        "issued_at": "example",
        "issued_by_id": 1,
        "issued_by_name": "example",
        "issues": [
          {}
        ],
        "labels": [
          {}
        ],
        "labor_markup": 1,
        "labor_markup_percentage": 1,
        "labor_markup_type": "fixed",
        "labor_subtotal": 1,
        "labor_time_entries": [
          {}
        ],
        "labor_time_in_seconds": 1,
        "meter_entry": {},
        "number": "example",
        "parts_markup": 1,
        "parts_markup_percentage": 1,
        "parts_markup_type": "fixed",
        "parts_subtotal": 1,
        "purchase_order_number": "example",
        "scheduled_at": "example",
        "secondary_meter_entry": {},
        "started_at": "example",
        "starting_meter_entry": {},
        "starting_secondary_meter_entry": {},
        "state": "active",
        "subtotal": 1,
        "tax_1": 1,
        "tax_1_percentage": 1,
        "tax_1_type": "example",
        "tax_2": 1,
        "tax_2_percentage": 1,
        "tax_2_type": "example",
        "total_amount": 1,
        "updated_at": "example",
        "vehicle_company_asset_number": "example",
        "vehicle_id": 1,
        "vehicle_name": "example",
        "vendor_id": 1,
        "vendor_name": "example",
        "vmrs_repair_priority_class": {},
        "watchers_count": 1,
        "work_order_line_items": [
          {}
        ],
        "work_order_status_color": "example",
        "work_order_status_id": 1,
        "work_order_status_name": "example",
        "work_order_sub_line_items": [
          {}
        ]
      }
    ],
    "start_cursor": "example"
  }
}

Resolve issue

Mark an open issue resolved, with a note saying how.

Inputs

Issueissue_idnumberRequired
The issue's ID.
NotenotetextRequired
How the issue was resolved.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "asset": {},
    "asset_type": "Vehicle",
    "attachment_permissions": {},
    "closed_at": "example",
    "closed_by": {},
    "closed_note": "example",
    "comments_count": 1,
    "created_at": "example",
    "creation_type": "manual",
    "custom_fields": {},
    "description": "example",
    "documents_count": 1,
    "due_date": "example",
    "due_meter_value": 1,
    "due_secondary_meter_value": 1,
    "fault": {},
    "id": 1,
    "images_count": 1,
    "is_overdue": true,
    "issue_priority": {},
    "labels": [
      {}
    ],
    "number": 1,
    "reported_at": "example",
    "reported_by": {},
    "resolvable": {},
    "resolvable_type": "example",
    "resolved_at": "example",
    "resolved_by": {},
    "resolved_note": "example",
    "state": "open",
    "submitted_inspection_form": {},
    "summary": "example",
    "updated_at": "example",
    "watchers_count": 1
  }
}

Update contact

Change a contact's details. Fields left empty keep their value.

Inputs

Contactcontact_idnumberRequired
The contact's ID.
First namefirst_nametext
The contact's first name.
Last namelast_nametext
The contact's last name.
Emailemailtext
The contact's email address.
Mobile phonemobile_phone_numbertext
The contact's mobile phone number.
Job titlejob_titletext
The contact's job title.
Employee numberemployee_numbertext
The contact's employee number, unique.
Groupgroup_idnumber
The group the contact belongs to.
Vehicle operatorvehicle_operatortrue/false
Whether the contact drives vehicles and can be assigned one.
Techniciantechniciantrue/false
Whether the contact works on vehicles.
Employeeemployeetrue/false
Whether the contact is an employee.
License numberlicense_numbertext
The contact's driver's license number.
License expirationlicense_expirationdate
When the contact's driver's license expires.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "account_membership_id": 1,
    "archived_at": "example",
    "birth_date": "example",
    "city": "example",
    "comments_count": 1,
    "country": "example",
    "created_at": "example",
    "custom_fields": {},
    "default_image_url": "example",
    "documents_count": 1,
    "email": "example",
    "employee": true,
    "employee_number": "example",
    "first_name": "example",
    "group_id": 1,
    "group_name": "example",
    "home_phone_number": "example",
    "hourly_labor_rate": 1,
    "id": 1,
    "images_count": 1,
    "job_title": "example",
    "last_name": "example",
    "leave_date": "example",
    "license_class": "example",
    "license_expiration": "example",
    "license_number": "example",
    "license_state": "example",
    "middle_name": "example",
    "mobile_phone_number": "example",
    "name": "example",
    "other_phone_number": "example",
    "postal_code": "example",
    "region": "example",
    "start_date": "example",
    "street_address": "example",
    "street_address_line_2": "example",
    "technician": true,
    "updated_at": "example",
    "user": {},
    "vehicle_operator": true,
    "work_phone_number": "example"
  }
}

Update issue

Change an issue's summary, description, priority or due date.

Inputs

Issueissue_idnumberRequired
The issue's ID.
Summarysummarytext
A short summary of the problem.
Descriptiondescriptiontext
A longer description of the problem.
Priorityissue_priority_idnumber
How urgent the issue is.
Reported byreported_by_idnumber
The contact who reported the issue.
Duedue_datedate and time
When it should be resolved by.
Due at meter readingdue_meter_valuenumber
The meter reading it should be resolved by.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "asset": {},
    "asset_type": "Vehicle",
    "attachment_permissions": {},
    "closed_at": "example",
    "closed_by": {},
    "closed_note": "example",
    "comments_count": 1,
    "created_at": "example",
    "creation_type": "manual",
    "custom_fields": {},
    "description": "example",
    "documents_count": 1,
    "due_date": "example",
    "due_meter_value": 1,
    "due_secondary_meter_value": 1,
    "fault": {},
    "id": 1,
    "images_count": 1,
    "is_overdue": true,
    "issue_priority": {},
    "labels": [
      {}
    ],
    "number": 1,
    "reported_at": "example",
    "reported_by": {},
    "resolvable": {},
    "resolvable_type": "example",
    "resolved_at": "example",
    "resolved_by": {},
    "resolved_note": "example",
    "state": "open",
    "submitted_inspection_form": {},
    "summary": "example",
    "updated_at": "example",
    "watchers_count": 1
  }
}

Update vehicle

Change a vehicle's details. Fields left empty keep their value.

Inputs

Vehiclevehicle_idnumberRequired
The vehicle to change.
Namenametext
The vehicle's name, unique in the account (often a unit number).
Vehicle typevehicle_type_idnumber
The kind of vehicle, such as Car or Truck.
Statusvehicle_status_idnumber
The vehicle's status, such as Active or Out of Service.
Meter unitprimary_meter_unittext
What the vehicle's main meter counts.One of: mi (Miles), km (Kilometers), hr (Hours).
Makemaketext
The manufacturer, such as Ford.
Modelmodeltext
The model, such as F-150.
Yearyearnumber
The model year.From 1900 to 2100.
Trimtrimtext
The trim level.
VINvintext
The vehicle identification number, unique.
License platelicense_platetext
The license plate number.
Colorcolortext
The vehicle's color.
Registration stateregistration_statetext
The state, province or territory it is registered in.
Ownershipownershiptext
How the fleet holds the vehicle.One of: owned, leased, rented, customer, financed, rent_to_own (Rent to own).
Groupgroup_idnumber
The group (such as a region or department) it belongs to.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "account_id": 1,
    "ai_enabled": true,
    "archived_at": "example",
    "assetable_type": "Vehicle",
    "axle_config_id": 1,
    "color": "example",
    "comments_count": 1,
    "current_location_entry": {},
    "current_location_entry_id": 1,
    "custom_fields": {},
    "default_image_url": "example",
    "default_image_url_large": "example",
    "default_image_url_medium": "example",
    "default_image_url_small": "example",
    "documents_count": 1,
    "driver": {},
    "estimated_replacement_mileage": "example",
    "estimated_resale_price_cents": 1,
    "estimated_service_months": 1,
    "external_ids": {},
    "fuel_entries_count": 1,
    "fuel_type_id": 1,
    "fuel_type_name": "example",
    "fuel_volume_units": "us_gallons",
    "group_ancestry": "example",
    "group_id": 1,
    "group_name": "example",
    "id": 1,
    "images_count": 1,
    "in_service_date": "example",
    "in_service_meter_value": "example",
    "inspection_schedules_count": 1,
    "is_sample": true,
    "issues_count": 1,
    "job_assignment": {},
    "labels": [
      {}
    ],
    "license_plate": "example",
    "loan_account_number": "example",
    "loan_ended_at": "example",
    "loan_interest_rate": 1,
    "loan_notes": "example",
    "loan_started_at": "example",
    "loan_vendor_id": 1,
    "loan_vendor_name": "example",
    "make": "example",
    "meter_name": "example",
    "model": "example",
    "name": "example",
    "out_of_service_date": "example",
    "out_of_service_meter_value": "example",
    "ownership": "owned",
    "primary_meter_date": "example",
    "primary_meter_unit": "example",
    "primary_meter_usage_per_day": "example",
    "primary_meter_value": "example",
    "registration_expiration_month": 1,
    "registration_state": "example",
    "secondary_meter_date": "example",
    "secondary_meter_name": "example",
    "secondary_meter_unit": "example",
    "secondary_meter_usage_per_day": "example",
    "secondary_meter_value": "example",
    "service_entries_count": 1,
    "service_reminders_count": 1,
    "specs": {},
    "system_of_measurement": "imperial",
    "trim": "example",
    "vehicle_renewal_reminders_count": 1,
    "vehicle_status_color": "example",
    "vehicle_status_id": 1,
    "vehicle_status_name": "example",
    "vehicle_type_id": 1,
    "vehicle_type_name": "example",
    "vin": "example",
    "work_orders_count": 1,
    "year": 1
  }
}

Update work order

Change a work order's status, dates, vendor or notes. Fields left empty keep their value.

Inputs

Work orderwork_order_idnumberRequired
The work order's ID.
Statuswork_order_status_idnumber
The work order's status, such as Open or Completed.
Issued atissued_atdate and time
When the work order was issued. Now, when left empty.
Descriptiondescriptiontext
What the work is.
Scheduled atscheduled_atdate and time
When the work is scheduled.
Started atstarted_atdate and time
When the work started.
Expected completionexpected_completed_atdate and time
When the work should be done.
Completed atcompleted_atdate and time
When the work was done.
Vendorvendor_idnumber
The shop or vendor doing the work.
Assigned tocontact_idnumber
The contact the work order is assigned to.
Purchase order numberpurchase_order_numbertext
A purchase order number for the work.
Invoice numberinvoice_numbertext
The vendor's invoice number.
Issue IDsissue_idslist
IDs of the vehicle's open issues this work order fixes.

Outputs

dataobject
The response from Fleetio.
Example output
{
  "data": {
    "attachment_permissions": {},
    "comments": [
      {}
    ],
    "comments_count": 1,
    "completed_at": "example",
    "contact_id": 1,
    "contact_image_url": "example",
    "contact_name": "example",
    "created_at": "example",
    "created_by_id": 1,
    "custom_fields": {},
    "description": "example",
    "discount": 1,
    "discount_percentage": 1,
    "discount_type": "example",
    "documents": [
      {}
    ],
    "documents_count": 1,
    "duration_in_seconds": 1,
    "ending_meter_entry": {},
    "ending_meter_same_as_start": true,
    "ending_secondary_meter_entry": {},
    "expected_completed_at": "example",
    "id": 1,
    "images": [
      {}
    ],
    "images_count": 1,
    "invoice_number": "example",
    "is_watched": true,
    "issued_at": "example",
    "issued_by_id": 1,
    "issued_by_name": "example",
    "issues": [
      {}
    ],
    "labels": [
      {}
    ],
    "labor_markup": 1,
    "labor_markup_percentage": 1,
    "labor_markup_type": "fixed",
    "labor_subtotal": 1,
    "labor_time_entries": [
      {}
    ],
    "labor_time_in_seconds": 1,
    "meter_entry": {},
    "number": "example",
    "parts_markup": 1,
    "parts_markup_percentage": 1,
    "parts_markup_type": "fixed",
    "parts_subtotal": 1,
    "purchase_order_number": "example",
    "scheduled_at": "example",
    "secondary_meter_entry": {},
    "started_at": "example",
    "starting_meter_entry": {},
    "starting_secondary_meter_entry": {},
    "state": "active",
    "subtotal": 1,
    "tax_1": 1,
    "tax_1_percentage": 1,
    "tax_1_type": "example",
    "tax_2": 1,
    "tax_2_percentage": 1,
    "tax_2_type": "example",
    "total_amount": 1,
    "updated_at": "example",
    "vehicle_company_asset_number": "example",
    "vehicle_id": 1,
    "vehicle_name": "example",
    "vendor_id": 1,
    "vendor_name": "example",
    "vmrs_repair_priority_class": {},
    "watchers_count": 1,
    "work_order_line_items": [
      {}
    ],
    "work_order_status_color": "example",
    "work_order_status_id": 1,
    "work_order_status_name": "example",
    "work_order_sub_line_items": [
      {}
    ]
  }
}

On this page