1.0OAS 3.0

REST API for managing fleet items including vehicles, powered assets, and non-powered assets. Provides endpoints for retrieving fleet item details, searching with field projection and filtering, and partial updates via JSON Patch.

API Base URL
  • Server 1:https://api.us.vzconnect.com
Security
STS (http)

Please enter ‘{token}’

Fleet API

Operations for searching fleet items, and for retrieving and updating a single vehicle, powered asset or non-powered asset.

Search fleet items

Queries and returns a paginated list of fleet items matching specified body conditions.

Query Controls:
Supports server-side filtering (e.g., fleetItemType EQUALS, fleetItemId IN, externalIds CONTAINS_ANY) and an optional free-text search parameter q. All conditions are AND-combined. conditions and fields are optional; omit conditions (or send an empty array) to return all fleet items.

Free-text search (q):
Matches fleet items whose name, registrationNumber, vin or notes contains the value. q must be 3-255 characters and may contain only letters, digits, spaces, hyphens and dots; any other value returns 400.

Response Field Projection (fields):
The fields array controls which properties appear in each result item — similar to a SQL SELECT clause. Only the specified fields are returned, reducing payload size. If omitted or empty, all fields are returned. Available fields: fleetItemId, name, fleetItemType, externalIds, notes, vin, manufacturer, manufacturerModel, manufactureYear, esn, fuelType, size, registrationNumber, metrics.fuelCapacity, metrics.highwayEfficiency, metrics.cityEfficiency. Any other name (for example fleetItemState, cost, eTag, registrationType, metrics or links) is rejected with 400 Unknown field; metrics are requested individually as metrics.<name>.

Fleet item state:
Search returns active and inactive fleet items; deleted fleet items are never returned. fleetItemState cannot be used as a condition or requested in fields. Use GET /v1/fleet-items/{fleetItemId} to read a fleet item’s state.

Field/Operator Compatibility:

  • fleetItemId: IN (1…N values)
  • fleetItemType: EQUALS (exactly 1 value), IN (1…N values)
  • externalIds: CONTAINS_ANY (1…100 values)

Operator Semantics for externalIds:

  • CONTAINS_ANY: Matches fleet items whose external ID equals any of the supplied values (whole-value match, not a partial or prefix match). Supports 1 to 100 lookup values in a single query; more than 100 returns 400.

About externalIds:
An array containing a single external identifier used to map this Reveal entity to your consumer systems. This field combines the older vehicleNumber and assetNumber fields into a single unique identifier, offering a broader capability that handles both vehicles and assets within a unified property.

External ID matching is case-insensitive (matches the underlying column collation).

Performance:
Supports field projection to return only requested properties.

Pagination & Sorting:
Implements forward-only cursor pagination via pageToken. Results are strictly sorted by fleetItemId in descending order. When more results exist, the response includes a pageToken; pass it back as pagination.pageToken in the next request body. pageToken is null on the last page. The response links array is currently always empty.

post
https://api.us.vzconnect.com/fleetapi/v1/fleet-items/search

Query Parameters

qstring

Optional free-text search. Matches name, registrationNumber, vin or notes containing the value. 3-255 characters: letters, digits, spaces, hyphens and dots only.

Body

The search request containing conditions, fields, and pagination settings.

FleetItemsSearchRequest

Request body for the POST /v1/fleet-items/search endpoint. Defines filtering conditions, field projection, and pagination settings for querying fleet items.

* Additional properties are NOT allowed.
conditionsarray[object]

A single filter condition within a search request. Combines a field, comparison operator, and one or more values.

<= 10 items

Example:{"field":"externalIds","operator":"CONTAINS_ANY","values":["telematics:VH-12345","fleet-mgmt:A-999"]}

* Additional properties are NOT allowed.
Show Child Parameters
fieldsarray[string]

A property name to include in each result item.

Allowed values:fleetItemIdnamefleetItemTypeexternalIdsnotesvinmanufacturermanufacturerModelmanufactureYearesnfuelTypesizeregistrationNumbermetrics.fuelCapacitymetrics.highwayEfficiencymetrics.cityEfficiency

<= 100 items

Example:fleetItemId

paginationobject

Cursor-based pagination settings for search requests.

Example:{"limit":10,"pageToken":null}

* Additional properties are NOT allowed.
Show Child Parameters

Response

application/json

Returns the search results with matching fleet items.

FleetItemsSearchResult

Paginated search results containing fleet items matching the specified conditions.

* Additional properties are NOT allowed.
itemsarray | null[object]

A fleet item returned by the POST /v1/fleet-items/search endpoint. When the request’s fields array is set, only the requested properties are present; when it is omitted or empty, every property is returned.

* Additional properties are NOT allowed.
Show Child Parameters
pageTokenstring | null

Token for retrieving the next page of results. Pass it as pagination.pageToken in the next request body. null when there are no more pages.

Example:01945a3b-7c8d-7e9f-a0b1-c2d3e4f5a6b7

linksarray | null[object]

Reserved for pagination links. Currently always an empty array; use pageToken to request the next page.

* Additional properties are NOT allowed.
Show Child Parameters
 
application/json