---
url: "https://developers.vzconnect.com/apis/vehicle-api-v1/versions/3941fe83-a6d1-4bef-90e3-c94cadaf0d4d"
---

OpenAPI specification document.

```json
{"openapi":"3.0.0","info":{"title":"Vehicle API","description":"**[LEGACY]** This API is legacy and is retained for backward compatibility. New integrations should use the current Vehicle APIs. The `FleetItemId` is the preferred vehicle identifier moving forward and will eventually replace `VehicleId`.\n\nThe Vehicle REST Service is included within the REVEAL Customer Meta Data API suite. Integrated customers and partners can leverage this API to update vehicle records within a REVEAL account.\n\nThis API will use the following unique identifier(s): Vehicle Number, Group ID. Standard REST verbs are applied: GET, PUT.\n\nNotes:\n- Users cannot CREATE or DELETE vehicles via REVEAL or the API; a vehicle record is created for every GPS tracking unit purchased and installed.\n- Vehicles marked as hidden in Reveal will not return via the Vehicle API.\n- To return information on Non-powered assets, use the Non-Powered Assets API.","version":"1.0","x-vzc-portal":{"category":"Fleet Data","summary":"Retrieve and update vehicle records, hours of use, odometer readings, and primary groups in Reveal.","business":{"description":"allows integrated customers and partners to retrieve and update vehicle records in a Verizon Connect Reveal account. Integrations can identify individual vehicles by vehicle number or view vehicles assigned to a specific group. The API includes operations for updating vehicle information, hours-of-use, odometer readings, and primary group assignments. Note: This is a legacy API. It remains supported for existing integrations, but feature development has ended. We recommend using the Fleet API for new integrations.","purpose":"The Vehicle API helps organizations keep vehicle records in Reveal synchronized with their connected business systems. Integrations can retrieve vehicle records for a group or a specific vehicle, then update vehicle information and operational details such as hours of use and odometer readings. The API also supports retrieving and updating a vehicle's primary group, helping organizations keep vehicle assignments consistent with their operational structure."},"use-cases":[{"title":"Maintain Existing Integrations","description":"Continue supporting systems that already use this legacy API to manage vehicle records in Reveal."},{"title":"Synchronize Vehicle Records","description":"Keep vehicle information aligned between Reveal and connected back-office systems."},{"title":"Retrieve Vehicles by Identifier or Group","description":"Find vehicles by vehicle number or retrieve vehicles associated with a group for operational processes and reporting."},{"title":"Keep Operational Details Current","description":"Update vehicle hours of use, odometer readings, and primary group assignments from connected systems."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JNNjggMzFoMXYxaC0xek01OCA1OWgxdjFoLTF6IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuNTYxIi8+DQo8cGF0aCBkPSJNNzMgMzZoMXYxaC0xek00NSA2MWgxdjFoLTF6IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuNDk4Ii8+DQo8cGF0aCBkPSJNNTUgNTNoMXYxaC0xek00NiA3MmgxdjFoLTF6IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuMTg4Ii8+DQo8cGF0aCBkPSJNNjUgNzBoMXYxaC0xek00OSA3NGgxdjFoLTF6IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuMzE0Ii8+DQo8cGF0aCBkPSJNNjEgNjdoMXYxaC0xeiIgZmlsbD0iIzAwMDAwMCIgZmlsbC1vcGFjaXR5PSIwLjY5Ii8+DQo8L3N2Zz4NCg==","status":{"type":"legacy","message":"This API is active and supported for existing integrations, but feature development has ended. Please use our {replacement} for new integrations.","replacement":{"name":"Fleet API","operation-id":"searchFleetItems"}}}},"tags":[{"name":"Vehicle API","description":"Operations for retrieving, updating and assigning vehicles within a REVEAL account, including odometer, hours of use and primary group."}],"paths":{"/cmd/v1/vehicles":{"get":{"summary":"Retrieve all vehicles in the account.","description":"Retrieve a list of vehicles within the account with additional meta data. Vehicles marked as hidden in Reveal are not returned. Non-powered assets are not returned by this method.","operationId":"getVehicles","tags":["Vehicle API"],"parameters":[{"name":"vehicleIds","in":"query","required":false,"description":"Optional comma-separated list of VehicleId values. When provided, only the matching vehicles are returned.","schema":{"type":"string","example":"1,2,3"}}],"responses":{"200":{"description":"Successfully retrieved the list of vehicles.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Vehicle"}},"example":[{"Name":"FD 0339","VehicleNumber":"33901","RegistrationNumber":null,"VIN":null,"Make":"FORD","Year":2010,"Model":"ECONOLINE","TankCapacity":null,"HighwayMPG":null,"CityMPG":null,"VehicleSize":0,"HasNavigationDevice":true,"FuelType":1,"HasTachograph":false,"VehicleId":1,"FleetItemId":"81b66e37-3ceb-46a8-96ca-ce31d8d1e070"}]}}},"204":{"description":"No vehicles found in the account.","content":{"application/json":{}}},"400":{"description":"Bad request.","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/?$"]}}},"/cmd/v1/vehicles/group/{groupid}":{"get":{"summary":"Retrieve vehicles by group.","description":"Retrieve all vehicles associated with the given Group ID. Results include Vehicle Number and other relevant vehicle details. Multiple vehicles can be returned per Group ID since groups can contain multiple vehicles within REVEAL.","operationId":"getVehiclesByGroup","tags":["Vehicle API"],"parameters":[{"name":"groupid","in":"path","required":true,"description":"The Group ID; the unique identifier assigned when creating and modifying groups within REVEAL's Admin section.","schema":{"type":"string","example":"12345"}}],"responses":{"200":{"description":"Successfully retrieved vehicles for the group.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleByGroup"}},"example":[{"Name":"Ed's Car - 4641114658","VehicleNumber":"4641114658","RegistrationNumber":"RegNumber 196213","ESN":"890001","FuelType":1,"FleetItemId":"81b66e37-3ceb-46a8-96ca-ce31d8d1e070"},{"Name":"Ed's Car - 4641063665","VehicleNumber":"4641063665","RegistrationNumber":"RegNumber 196214","ESN":"890002","FuelType":1,"FleetItemId":"fed67894-1619-408c-8135-655f069259f9"}]}}},"204":{"description":"No vehicles found in the specified group.","content":{"application/json":{}}},"400":{"description":"Bad request.","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/group/[^/]+/?$"]}}},"/cmd/v1/vehicles/{vehiclenumber}":{"get":{"summary":"Retrieve a specific vehicle by vehicle number.","description":"Retrieve a single vehicle specified by its Vehicle Number.","operationId":"getVehicleByNumber","tags":["Vehicle API"],"parameters":[{"name":"vehiclenumber","in":"path","required":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","schema":{"type":"string","example":"33901"}}],"responses":{"200":{"description":"Successfully retrieved the vehicle details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vehicle"},"example":{"Name":"FD 0339","VehicleNumber":"33901","RegistrationNumber":null,"VIN":null,"Make":"FORD","Year":2010,"Model":"ECONOLINE","TankCapacity":113.562353673961,"HighwayMPG":6.72042,"CityMPG":11.76073,"VehicleSize":0,"HasNavigationDevice":true,"FuelType":1,"HasTachograph":false,"VehicleId":1}}}},"400":{"description":"Bad request. No vehicle exists with the specified vehicle number (message: \"The Client Vehicle ID specified was not a valid ID.\").","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/[^/]+/?$"]}},"put":{"summary":"Update a vehicle's details.","description":"Update a vehicle's profile details. The vehicle must already be assigned a unique Vehicle Number in order to update via the API. PUT methods do not return an object; the response is limited to standard HTTP status codes.\n\nThis is a partial update: fields marked as nullable in the request schema that are omitted or null are left unchanged. If VehicleNumber is provided, the vehicle's Vehicle Number is changed to that value. HasNavigationDevice cannot be updated through this method.","operationId":"updateVehicle","tags":["Vehicle API"],"parameters":[{"name":"vehiclenumber","in":"path","required":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","schema":{"type":"string","example":"890001"}}],"requestBody":{"description":"Vehicle attributes to update.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleUpdateRequest"},"example":{"Name":"Vehicle 1","RegistrationNumber":"44046","VehicleNumber":"890001","VehicleSize":0,"FuelType":1}}}},"responses":{"204":{"description":"Vehicle successfully updated.","content":{"application/json":{}}},"400":{"description":"Bad request. No vehicle exists with the specified vehicle number (message: \"The Client Vehicle ID specified was not a valid ID.\"), or the request body is invalid.","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/[^/]+/?$"]}}},"/cmd/v1/vehicles/{vehiclenumber}/hoursofuse":{"put":{"summary":"Update a vehicle's hours of use.","description":"Update a vehicle's current hours of use as of a given date. The As Of date must be less than 30 days in the past. The request body should include Minutes of Use and the As Of date/timestamp.","operationId":"updateVehicleHoursOfUse","tags":["Vehicle API"],"parameters":[{"name":"vehiclenumber","in":"path","required":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","schema":{"type":"string","example":"890001"}}],"requestBody":{"description":"Hours of use data including MinutesOfUse and AsOf timestamp.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoursOfUseUpdateRequest"},"example":{"MinutesOfUse":6050,"AsOf":"2016-09-09T00:00:00"}}}},"responses":{"204":{"description":"Hours of use successfully updated.","content":{"application/json":{}}},"400":{"description":"Bad request. No vehicle exists with the specified vehicle number (message: \"The Client Vehicle ID specified was not a valid ID.\"), or the request body is invalid.","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/[^/]+/hoursofuse/?$"]}}},"/cmd/v1/vehicles/{vehiclenumber}/odometer":{"put":{"summary":"Update a vehicle's odometer reading.","description":"Update a vehicle's current odometer, or odometer as of a given date. The As Of date must be less than 30 days in the past. The request body should include the Odometer (in kilometers) and the As Of date/timestamp.","operationId":"updateVehicleOdometer","tags":["Vehicle API"],"parameters":[{"name":"vehiclenumber","in":"path","required":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","schema":{"type":"string","example":"890001"}}],"requestBody":{"description":"Odometer data including the reading value and AsOf timestamp.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OdometerUpdateRequest"},"example":{"Odometer":47569,"AsOf":"2016-09-01T00:00:00"}}}},"responses":{"204":{"description":"Odometer reading successfully updated.","content":{"application/json":{}}},"400":{"description":"Bad request. No vehicle exists with the specified vehicle number (message: \"The Client Vehicle ID specified was not a valid ID.\"), or the request body is invalid.","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/[^/]+/odometer/?$"]}}},"/cmd/v1/vehicles/{vehiclenumber}/primarygroup":{"get":{"summary":"Retrieve the primary group for a vehicle.","description":"Retrieve the primary group associated with the given Vehicle Number.","operationId":"getVehiclePrimaryGroup","tags":["Vehicle API"],"parameters":[{"name":"vehiclenumber","in":"path","required":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","schema":{"type":"string","example":"890001"}}],"responses":{"200":{"description":"Successfully retrieved the vehicle's primary group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehiclePrimaryGroup"},"example":{"VehicleNumber":"890001","PrimaryGroupName":"North Region","PrimaryGroupId":"12345"}}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/[^/]+/primarygroup/?$"]}},"put":{"summary":"Update the primary group for a vehicle.","description":"Update a vehicle's primary group. If the Vehicle Number is currently assigned to a primary group, the vehicle will be updated to reflect the Group ID provided. The PrimaryGroupId is the Group ID assigned when creating and modifying groups within REVEAL's Admin section.","operationId":"updateVehiclePrimaryGroup","tags":["Vehicle API"],"parameters":[{"name":"vehiclenumber","in":"path","required":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","schema":{"type":"string","example":"890001"}}],"requestBody":{"description":"New primary group assignment details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrimaryGroupUpdateRequest"},"example":{"PrimaryGroupId":"12345"}}}},"responses":{"204":{"description":"Primary group successfully updated.","content":{"application/json":{}}},"400":{"description":"Bad request. The request body is invalid.","content":{"application/json":{}}},"401":{"description":"Unauthorized. Authentication credentials are missing or invalid.","content":{"application/json":{}}},"404":{"description":"The Vehicle Number (or other unique identifier used for the call) was not found."},"500":{"description":"Internal server error.","content":{"application/json":{}}}},"x-kong-route-defaults":{"strip_path":false,"paths":["~/cmd/v1/vehicles/[^/]+/primarygroup/?$"]}}}},"components":{"schemas":{"VehiclePrimaryGroup":{"type":"object","description":"A vehicle's primary group, as returned by the GET primary group method.","properties":{"VehicleNumber":{"type":"string","description":"The Vehicle Number used in the request.","example":"890001"},"PrimaryGroupName":{"type":"string","description":"The name of the vehicle's primary group.","example":"North Region"},"PrimaryGroupId":{"type":"string","description":"The Group ID of the vehicle's primary group; the unique identifier assigned when creating and modifying groups within REVEAL's Admin section.","example":"12345"}}},"PrimaryGroupUpdateRequest":{"type":"object","description":"Request body to update a vehicle's primary group.","required":["PrimaryGroupId"],"properties":{"PrimaryGroupId":{"type":"string","description":"The Group ID that corresponds to the Primary Group the vehicle is being added to. This is the unique identifier assigned when creating and modifying groups within REVEAL's Admin section.","example":"12345"}}},"HoursOfUseUpdateRequest":{"type":"object","description":"Request body to update a vehicle's hours of use as of a given date.","required":["AsOf"],"properties":{"MinutesOfUse":{"type":"integer","description":"The minutes of use for the vehicle.","example":6050},"AsOf":{"type":"string","format":"date-time","description":"The As Of date and timestamp for the hours of use. Must be less than 30 days in the past.","example":"2016-09-09T00:00:00"}}},"Vehicle":{"type":"object","description":"A vehicle record as returned by the GET Vehicle methods.","properties":{"Name":{"type":"string","nullable":true,"description":"The Vehicle Name as recorded within the REVEAL vehicle profile.","example":"FD 0339"},"VehicleNumber":{"type":"string","description":"The Vehicle Number is the unique identifier used to reference the vehicle within the API. It is not mandatory within the REVEAL account but is required for the API.","example":"33901"},"RegistrationNumber":{"type":"string","nullable":true,"description":"Registration Number is not required within the REVEAL vehicle profile. When provided it must be unique within an account.","example":null},"VIN":{"type":"string","nullable":true,"description":"Vehicle Identification Number, the unique serial code provided by the automotive manufacturer for the vehicle.","example":null},"Make":{"type":"string","nullable":true,"description":"The vehicle manufacturer's brand.","example":"FORD"},"Year":{"type":"integer","nullable":true,"description":"The year the vehicle was manufactured.","example":2010},"Model":{"type":"string","nullable":true,"description":"The type of vehicle by the manufacturer.","example":"ECONOLINE"},"TankCapacity":{"type":"number","format":"double","nullable":true,"description":"Tank Capacity provided and referenced in liters. Not required, but a key element when using Fuel Card features.","example":113.562353673961},"HighwayMPG":{"type":"number","format":"double","nullable":true,"description":"Estimated Highway MPG provided by the customer, referenced in liters. Not required, but a key element when using Fuel Card features.","example":6.72042},"CityMPG":{"type":"number","format":"double","nullable":true,"description":"Estimated City MPG provided by the customer, referenced in liters. Not required, but a key element when using Fuel Card features.","example":11.76073},"VehicleSize":{"type":"integer","description":"Vehicle Size classification. 0: Light Duty, 1: Medium Duty, 2: Heavy Duty, 3: Super Heavy Duty. Defaults to Light Duty.","enum":[0,1,2,3],"default":0,"example":0},"HasNavigationDevice":{"type":"boolean","description":"Indicates whether the vehicle has a Garmin navigation device installed.","example":true},"FuelType":{"type":"integer","description":"The Fuel Type of the vehicle. 0: Not set, 1: Unleaded, 2: Diesel, 3: Electric.","enum":[0,1,2,3],"example":1},"HasTachograph":{"type":"boolean","description":"Indicates whether the vehicle has a tachograph device installed.","example":false},"VehicleId":{"type":"integer","description":"An integer primary key uniquely identifying each record in the table.","example":1},"FleetItemId":{"type":"string","format":"uuid","description":"The unique identifier of the fleet item (vehicle). This is the preferred identifier moving forward and will eventually replace VehicleId.","example":"81b66e37-3ceb-46a8-96ca-ce31d8d1e070"}}},"OdometerUpdateRequest":{"type":"object","description":"Request body to update a vehicle's odometer as of a given date.","required":["AsOf"],"properties":{"Odometer":{"type":"number","format":"double","description":"The odometer value, referenced in kilometers.","example":47569},"AsOf":{"type":"string","format":"date-time","description":"The As Of date and timestamp for the odometer reading. Must be less than 30 days in the past.","example":"2016-09-01T00:00:00"}}},"VehicleByGroup":{"type":"object","description":"A vehicle record as returned by the GET Vehicles by Group ID method.","properties":{"Name":{"type":"string","description":"The Vehicle Name as recorded within the REVEAL vehicle profile.","example":"Ed's Car - 4641114658"},"VehicleNumber":{"type":"string","description":"The Vehicle Number is the unique identifier within the API. Not mandatory within the REVEAL account, but required for the API.","example":"4641114658"},"RegistrationNumber":{"type":"string","description":"Registration Number is not required within the REVEAL profile. When provided it must be unique within the account.","example":"RegNumber 196213"},"ESN":{"type":"string","description":"ESN is used to uniquely identify a vehicle from another. It is a mandatory field for vehicle creation in Reveal.","example":"890001"},"FuelType":{"type":"integer","description":"The Fuel Type of the vehicle. 0: Not set, 1: Unleaded, 2: Diesel, 3: Electric.","enum":[0,1,2,3],"example":1},"FleetItemId":{"type":"string","format":"uuid","description":"The unique identifier of the fleet item (vehicle). This is the preferred identifier moving forward and will eventually replace vehicleId.","example":"81b66e37-3ceb-46a8-96ca-ce31d8d1e070"}}},"VehicleUpdateRequest":{"type":"object","description":"Request body to update a vehicle's profile details.","properties":{"Name":{"type":"string","nullable":true,"description":"The Vehicle Name as recorded within the REVEAL vehicle profile.","example":"Vehicle 1"},"VehicleNumber":{"type":"string","nullable":true,"description":"The Vehicle Number; the unique identifier used to reference the vehicle within the API.","example":"890001"},"RegistrationNumber":{"type":"string","nullable":true,"description":"Registration Number. When provided it must be unique within an account.","example":"44046"},"VIN":{"type":"string","nullable":true,"description":"Vehicle Identification Number.","example":null},"Make":{"type":"string","nullable":true,"description":"The vehicle manufacturer's brand.","example":null},"Year":{"type":"integer","nullable":true,"description":"The year the vehicle was manufactured.","example":null},"Model":{"type":"string","nullable":true,"description":"The type of vehicle by the manufacturer.","example":null},"TankCapacity":{"type":"number","format":"double","nullable":true,"description":"Tank Capacity in liters.","example":null},"HighwayMPG":{"type":"number","format":"double","nullable":true,"description":"Estimated Highway MPG in liters.","example":null},"CityMPG":{"type":"number","format":"double","nullable":true,"description":"Estimated City MPG in liters.","example":null},"VehicleSize":{"type":"integer","nullable":true,"description":"Vehicle Size classification. 0: Light Duty, 1: Medium Duty, 2: Heavy Duty, 3: Super Heavy Duty.","enum":[0,1,2,3],"example":0},"FuelType":{"type":"integer","description":"The Fuel Type of the vehicle. 0: Not set, 1: Unleaded, 2: Diesel, 3: Electric.","enum":[0,1,2,3],"example":1}}}}},"servers":[{"url":"https://api.us.vzconnect.com"}]}
```
