List Equipment
Returns a list of your Equipment. Defaults to only returning non-archived Equipment, but you can include archived Equipment in the results as well.
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.
brand object
oneOf- MOD1
- MOD2
like string requiredeq string requiredname object
oneOf- MOD1
- MOD2
like string requiredeq string requiredmodel object
oneOf- MOD1
- MOD2
like string requiredeq string requiredserial_number object
oneOf- MOD1
- MOD2
like string requiredeq string requiredlabels object
include string requiredcurrent_location_entry_id object
eq string requiredin_service_date object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
eq string requiredlt string requiredlte string requiredgt string requiredgte string requiredout_of_service_date object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
eq string requiredlt string requiredlte string requiredgt string requiredgte string requiredpurchase_date object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
eq string requiredlt string requiredlte string requiredgt string requiredgte 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.
- in_service_date string
Possible values: [
asc
,desc
] - out_of_service_date string
Possible values: [
asc
,desc
] - purchase_date string
Possible values: [
asc
,desc
] - created_at string
Possible values: [
asc
,desc
] - updated_at string
Possible values: [
asc
,desc
] - id string
Possible values: [
asc
,desc
]Default value:
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
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
brand object
oneOf- MOD1
- MOD2
like stringeq stringname object
oneOf- MOD1
- MOD2
like stringeq stringmodel object
oneOf- MOD1
- MOD2
like stringeq stringserial_number object
oneOf- MOD1
- MOD2
like stringeq stringlabels object
include stringcurrent_location_entry_id object
eq stringin_service_date object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
eq stringlt stringlte stringgt stringgte stringout_of_service_date object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
eq stringlt stringlte stringgt stringgte stringpurchase_date object
oneOf- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
eq stringlt stringlte stringgt stringgte 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
- MOD4
- MOD5
- MOD6
in_service_date stringPossible values: [
asc
,desc
]out_of_service_date stringPossible values: [
asc
,desc
]purchase_date stringPossible values: [
asc
,desc
]created_at stringPossible values: [
asc
,desc
]updated_at stringPossible values: [
asc
,desc
]id stringPossible values: [
asc
,desc
]records Equipment[]
id integername stringThe name for this Equipment.
brand stringThe name of the brand which makes this Equipment.
model stringThe model name of this Equipment.
serial_number stringThe serial number of this Equipment.
equipment_type_id integertype_name stringThe name of the associated
Equipment Type
.equipment_status_id integerstatus_name stringThe name of the associated
Equipment Status
.group_id integerpurchase_vendor_id integerpurchase_price_cents integerThe purchase price in cents.
purchase_date dateThe date on which the Equipment was purchased.
estimated_resale_price_cents integerThe estimated resale price in cents of this Equipment.
warranty_expiration_date dateThe date on which the Equipment warranty expires.
purchase_comments stringAny comments about the purchase of this Equipment.
custom_fields object*Full details on working with Custom Fields here.
in_service_date dateThe date on which the Equipment was put into service.
estimated_service_life integerThe estimated duration in months of the service life for this Equipment.
out_of_service_date dateThe estimated date on which the Equipment will be retired from service.
archived_at date-timeThe date and time at which the Equipment was archived.
status_color stringThe color of the associated
Equipment Status
.purchase_vendor object
A Vendor
name stringThe name of the Vendor.
phone stringThe phone number of the Vendor.
city stringThe city of the Vendor.
region stringThe region, state, province, or territory of the Vendor.
postal_code stringThe postal code or ZIP code of the Vendor.
country stringThe country of the Vendor.
external_id stringThe external identifier of the Vendor.
linked_vehicle object
A Vehicle
id integername stringThis vehicle's name.
color stringThe color of this Vehicle.
license_plate stringThe license plate number of this Vehicle.
vin stringThe Vehicle Identification Number of this Vehicle.
year stringThis Vehicle's model year.
make stringThe name of this Vehicle's manufacturer.
model stringThe name of the model of this Vehicle.
trim stringThe trim level of this Vehicle.
registration_expiration_month integerPossible values:
<= 12
The month in which this Vehicle's registration expires.
registration_state stringThe state, province, or territory in which this Vehicle is registered.
default_image_url_small stringThe URL of a small-sized version of the default image for this Vehicle.
assigned_contact object
A Contact
id integeremail stringThe Contact's email address.
name stringThe Contact's full name.
group_id integerIf this Contact belongs to a Group, this will be the Fleetio ID of that
Group
.default_image_url stringThe URL of the Contact's default image/profile photo, if any.
attachment_permissions object
read_photos booleanIndicates whether the user has read permission for photos.
manage_photos booleanIndicates whether the user has permission to manage (eg. upload, delete) photos.
read_documents booleanIndicates whether the user has read permission for documents.
manage_documents booleanIndicates whether the user has permission to manage (eg. upload, delete) documents.
default_image_url stringThe URL of the Equipment's default image/profile photo, if any.
assetable_type stringThe type of assetable object.
comments_count integerThe number of
Comments
associated with this Equipment.documents_count integerThe number of documents associated with this Equipment.
images_count integerThe number of images associated with this Equipment.
is_watched booleanDefault value:
false
Indicates whether this Equipment is being watched.
watchers_count integerThe number of users watching this Equipment.
{
"start_cursor": "string",
"next_cursor": "string",
"per_page": 0,
"estimated_remaining_count": 0,
"filtered_by": [
{
"brand": {
"like": "string"
}
},
{
"name": {
"like": "string"
}
},
{
"model": {
"like": "string"
}
},
{
"serial_number": {
"like": "string"
}
},
{
"labels": {
"include": "string"
}
},
{
"current_location_entry_id": {
"eq": "string"
}
},
{
"in_service_date": {
"eq": "string"
}
},
{
"out_of_service_date": {
"eq": "string"
}
},
{
"purchase_date": {
"eq": "string"
}
},
{
"created_at": {
"lt": "string"
}
},
{
"updated_at": {
"lt": "string"
}
}
],
"sorted_by": [
{
"in_service_date": "asc"
},
{
"out_of_service_date": "asc"
},
{
"purchase_date": "asc"
},
{
"created_at": "asc"
},
{
"updated_at": "asc"
},
{
"id": "asc"
}
],
"records": [
{
"id": 0,
"name": "string",
"brand": "string",
"model": "string",
"serial_number": "string",
"equipment_type_id": 0,
"type_name": "string",
"equipment_status_id": 0,
"status_name": "string",
"group_id": 0,
"purchase_vendor_id": 0,
"purchase_price_cents": 0,
"purchase_date": "2023-03-14",
"estimated_resale_price_cents": 0,
"warranty_expiration_date": "2023-03-14",
"purchase_comments": "string",
"custom_fields": {},
"in_service_date": "2023-03-14",
"estimated_service_life": 0,
"out_of_service_date": "2023-03-14",
"archived_at": "2024-11-18",
"status_color": "string",
"purchase_vendor": {
"name": "string",
"phone": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string",
"external_id": "string"
},
"linked_vehicle": {
"id": 0,
"name": "string",
"color": "string",
"license_plate": "string",
"vin": "string",
"year": "string",
"make": "string",
"model": "string",
"trim": "string",
"registration_expiration_month": 0,
"registration_state": "string",
"default_image_url_small": "string"
},
"assigned_contact": {
"id": 0,
"email": "string",
"name": "string",
"group_id": 0,
"default_image_url": "string"
},
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"default_image_url": "string",
"assetable_type": "string",
"comments_count": 0,
"documents_count": 0,
"images_count": 0,
"is_watched": false,
"watchers_count": 0
}
]
}
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"
}