List Accounts
Allows you to see information about the corresponding account(s) related to a given API key, such as the company name and address.
This endpoint does not require you to pass in the Account-Token
header. It does still require the API key to be passed in via the
Authorization header though, as this API key is what is used to lookup the
associated accounts.
Query Parameters
- start_cursor string
The start cursor for Keyset pagination.
- per_page integer
Possible values:
>= 2
and<= 100
Default value:
50
The number of records per page to return.
- filter object
The fields, operations, and values to filter the records by.
account_name object
oneOf- MOD1
- MOD2
like string requiredeq string requiredaccount_url_token object
eq string requiredcreated_at object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
lt string requiredlte string requiredgt string requiredgte string requiredupdated_at object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
lt string requiredlte string requiredgt string requiredgte string required
- sort object
The fields and direction to sort the results by.
- id string
Possible values: [
asc
,desc
]Default value:
desc
- created_at string
Possible values: [
asc
,desc
] - updated_at string
Possible values: [
asc
,desc
]
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- start_cursor string
The current start cursor of the records returned.
- next_cursor string
The next cursor to retrieve the next page of records.
- per_page integer
The maxumum number of records returned.
- estimated_remaining_count integer
The number of remaining records including the returned records, up to a maximum of 500.
filtered_by object[]
The filters applied to the returned record set.
anyOf- MOD1
- MOD2
- MOD3
- MOD4
account_name object
oneOf- MOD1
- MOD2
like stringeq stringaccount_url_token object
eq stringcreated_at object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
lt stringlte stringgt stringgte stringupdated_at object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
lt stringlte stringgt stringgte stringsorted_by object[]
The sorts applied to the returned record set.
anyOf- MOD1
- MOD2
- MOD3
updated_at stringPossible values: [
asc
,desc
]created_at stringPossible values: [
asc
,desc
]id stringPossible values: [
asc
,desc
]records object[]
id integerPossible values:
>= 1
created_at date-timeThe date and time at which this record was created.
updated_at date-timeThe date and time at which this record was most recently updated.
account_membership_id integerPossible values:
>= 1
name stringThe name of the Account.
user_type stringPossible values: [
admin
,owner
,regular
,guest
]The membership type of the current
User
.token stringThe URL token used to identify the Account.
time_24_format booleanDefault value:
false
Whether or not this Account uses 24 hour time format.
currency_symbol stringDefault value:
$
The default currency symbols used by the Account.
city stringThe city the Account belongs to.
region stringThe region the Account belongs to.
postal_code stringThe postal code or ZIP code the Account belongs to.
street_address stringThe street address of the Account.
street_address_line_2 stringStreet address line 2 of the Account.
country stringThe country of the Account.
read_vehicles booleanWhether or not the Account can view Vehicles.
manage_vehicles booleanWhether or not the Account can manage Vehicles.
create_vehicles booleanWhether or not the Account can create Vehicles.
read_fuel_entries booleanWhether or not the Account can view Fuel Entries.
manage_fuel_entries booleanWhether or not the Account can manage Fuel Entries.
read_service_entries booleanWhether or not the Account can view Service Entries.
manage_service_entries booleanWhether or not the Account can manage Service Entries.
read_issues booleanWhether or not the Account can view Issues.
manage_issues booleanWhether or not the Account can manage Issues.
read_work_orders booleanWhether or not the Account can view Work Orders.
manage_work_orders booleanWhether or not the Account can manage Work Orders.
read_service_reminders booleanWhether or not the Account can view Service Reminders.
manage_service_reminders booleanWhether or not the Account can manage Service Reminders.
read_vehicle_renewal_reminders booleanWhether or not the Account can view Vehicle Renewal Reminders.
manage_vehicle_renewal_reminders booleanWhether or not the Account can manage Vehicle Renewal Reminders.
read_comments booleanWhether or not the Account can view Comments.
manage_comments booleanWhether or not the Account can manage Comments.
read_meter_entries booleanWhether or not the Account can view Meter Entries.
manage_meter_entries booleanWhether or not the Account can manage Meter Entries.
read_groups booleanWhether or not the Account can view Groups.
read_contacts booleanWhether or not the Account can view Contacts.
fleetio_manage booleanWhether or not the Account is subscribed to a Fleetio plan.
inspections booleanWhether or not the Account has inspections enabled.
update_parts booleanWhether or not the Account can update Parts.
update_inventory booleanWhether or not the Account can update inventory.
allowed_part_location_ids integer[]The Part Locations allowed to be updated.
new_inventory_permissions booleanWhether or not the Account can create new inventory.
plan stringThe name of the Account's currently active Subscription Plan.
state stringPossible values: [
trialing
,assessing
,active
,past_due
,soft_failure
]The state of the Account's Subscription.
default_meter_unit stringThe default meter volume unit used by the Account.
default_fuel_volume_unit stringThe default fuel volume unit used by the Account.
default_system_of_measurement stringPossible values: [
imperial
,metric
]The default system of measurement used by the Account.
tax_settings object
tax_free_labor booleanDefault value:
false
Configure's whether or not to include labor costs when calculating taxes. More info
tax_2 booleanEnables a secondary tax field option (Tax 2) when calculating the total amount for Work Orders and Service Entries. More info
default_tax_1 stringSpecify the value to be used automatically in the Tax 1 field for Work Orders and Service Entries. This is the default but this tax can be changed per record. More info
default_tax_2 stringSpecify the value to be used automatically in the Tax 2 field for Work Orders and Service Entries. This is the default but this tax can be changed per record. More info
default_tax_type stringPossible values: [
fixed
,percentage
]Specify if the default setting for charging sales tax on Work Orders and Service Entries is a fixed amount, or a percentage. This is the default but this can be changed per record. More info
next_work_order_number integerWhat the next
Work Order
's number will be in the sequence.offline_inspections booleanWhether or not the Account can perform offline inspections.
inspections_new_item_type_beta boolean deprecatedpaying_customer booleanWhether or not the Account is a paying customer.
is_demo booleanWhether or not the Account is in demo mode.
require_group booleanWhether or not
Contacts
/Users
must be assigned to aGroup
.require_a_meter_entry_on_service_entry_or_completed_work_order booleanWhether or not a
Meter Entry
is required when submitting aService Entry
or completedWork Order
.has_ro_notification_subscription booleanWhether or not the Account is subscribed to
Repair Order
notifications.require_an_inventory_location_on_wo_part_line_items booleanWhether or not a
Part
line item on aWork Order
must have a location.use_forecasted_dates_for_service_reminders booleanWhether or not forecasted dates are used for
Service Reminders
.require_a_rpc_on_service_entry_or_completed_work_order booleanWhether or not a repair priority class is required when submitting a
Service Entry
or completedWork Order
.vmrs_system_enabled booleanWhether or not the Vehicle Maintenance Reporting Standards system is enabled.
vmrs_assembly_enabled booleanWhether or not the VMRS assembly element identification is enabled.
vmrs_component_enabled booleanWhether or not the VMRS component identification is enabled.
disable_reason_for_repair_editing booleanWhether or not the reason for repair can be edited.
disable_system_assembly_component_editing booleanWhether or not the VMRS assembly or component information can be edited.
require_vmrs_reason_for_repair_on_service_line_items_as_of datetimeThe date when the VMRS reason for repair is required on service line items. If
null
, the VMRS reason for repair is not required.require_vmrs_system_group_on_service_line_items_as_of datetimeThe date when the VMRS system group is required on service line items. If
null
, the VMRS system group is not required.
{
"start_cursor": "string",
"next_cursor": "string",
"per_page": 0,
"estimated_remaining_count": 0,
"filtered_by": [
{
"account_name": {
"like": "string"
}
},
{
"account_url_token": {
"eq": "string"
}
},
{
"created_at": {
"lt": "string"
}
},
{
"updated_at": {
"lt": "string"
}
}
],
"sorted_by": [
{
"updated_at": "asc"
},
{
"created_at": "asc"
},
{
"id": "asc"
}
],
"records": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"account_membership_id": 0,
"name": "string",
"user_type": "admin",
"token": "string",
"time_24_format": false,
"currency_symbol": "$",
"city": "string",
"region": "string",
"postal_code": "string",
"street_address": "string",
"street_address_line_2": "string",
"country": "string",
"read_vehicles": true,
"manage_vehicles": true,
"create_vehicles": true,
"read_fuel_entries": true,
"manage_fuel_entries": true,
"read_service_entries": true,
"manage_service_entries": true,
"read_issues": true,
"manage_issues": true,
"read_work_orders": true,
"manage_work_orders": true,
"read_service_reminders": true,
"manage_service_reminders": true,
"read_vehicle_renewal_reminders": true,
"manage_vehicle_renewal_reminders": true,
"read_comments": true,
"manage_comments": true,
"read_meter_entries": true,
"manage_meter_entries": true,
"read_groups": true,
"read_contacts": true,
"fleetio_manage": true,
"inspections": true,
"update_parts": true,
"update_inventory": true,
"allowed_part_location_ids": [
0
],
"new_inventory_permissions": true,
"plan": "string",
"state": "trialing",
"default_meter_unit": "string",
"default_fuel_volume_unit": "string",
"default_system_of_measurement": "imperial",
"tax_settings": {
"tax_free_labor": false,
"tax_2": true,
"default_tax_1": "string",
"default_tax_2": "string",
"default_tax_type": "fixed"
},
"next_work_order_number": 0,
"offline_inspections": true,
"paying_customer": true,
"is_demo": true,
"require_group": true,
"require_a_meter_entry_on_service_entry_or_completed_work_order": true,
"has_ro_notification_subscription": true,
"require_an_inventory_location_on_wo_part_line_items": true,
"use_forecasted_dates_for_service_reminders": true,
"require_a_rpc_on_service_entry_or_completed_work_order": true,
"vmrs_system_enabled": true,
"vmrs_assembly_enabled": true,
"vmrs_component_enabled": true,
"disable_reason_for_repair_editing": true,
"disable_system_assembly_component_editing": true,
"require_vmrs_reason_for_repair_on_service_line_items_as_of": "string",
"require_vmrs_system_group_on_service_line_items_as_of": "string"
}
]
}
The format or parameters of the request was invalid
- application/json
- Schema
- Example (from schema)
Schema
errors object
typeitems string
{
"errors": {}
}
Request could not be authenticated
- application/json
- Schema
- Example (from schema)
Schema
- status integer
Possible values:
>= 400
and<= 599
- title string
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
- detail string
A human-readable explanation specific to this occurrence of the problem.
- instance string
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Something unexpected happened
- application/json
- Schema
- Example (from schema)
Schema
- status integer
Possible values:
>= 400
and<= 599
- title string
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
- detail string
A human-readable explanation specific to this occurrence of the problem.
- instance string
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}