These docs are for v1. Click to read the latest docs for v3.

View

This API returns you with a detailed snapshot of the vehicles present in your account. Details such as odometer readings, last contact time etc are useful in determining real-time activities across your fleet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Sample Request

https://api.azuga.com/azuga-ws/v1/vehicle/view.json?groupName=WestCoast

API Response explanation

FieldDescription
codeAPI Status Code
messageAPI Message (Success/Failure)
messageCodeAPI sub-error code
generatedAtAPI generation timestamp in UTC
reasonThe reason for failure
currentPageThe current page
totalPagesThe total number of pages in the result
vehiclesAn array of vehicle objects
vehicleIdUnique identifier representing the vehicle
vehicleNameName of the vehicle
vehicleTypeType of vehicle
groupNameName of the group associated with the vehicle
makeMake of the vehicle
modelModel of the vehicle
yearYear in which the vehicle was manufactured
vinVehice Identification Number
licensePlateLicense plate number of the vehicle
odometerOdometer reading of the vehicle in Kms
phoneNumberPhone number of the driver
costPerMileOperating cost per mile of the vehicle
serialNumberSerial number of the device associated with the vehicle
assetNumberAsset number of the vehicle
lastContactDateTimestamp (user time zone) when the device and vehicle were last paired
lastConatctDateGMTTimestamp (UTC) when the device and vehicle were last paired
ownerShipOwnership type of the vehicle
fuelTypeId

Unique identifier representing the fuel

1 - Gasoline
2 - Diesel

driverIdUnique identifier representing the driver
engineHoursEngine run time in seconds
imeiIMEI number of the SIM
deviceIdUnique identifier representing the device
trackeeTypeId

Unique identifier representing the type of the vehicle. The following values are valid:

1 - Vehicle
2 - Asset

deviceTypeIdUnique identifier representing the type of the device
  • *1 = Datalogger
    6 = Asset Tracker
    11 = SafetyCam**
fuelTypeNameName of the fuel type
odo_supportBoolean representing whether the vehicle supports odo data
lastConatctDateGMTLast contact date in UTC milliseconds.
Query Params
string

Name of the vehicle (either the vehicle name, or the group name or the vehicleId is required for the API call)

string

Name of the group (either the vehicle name, or the group name or the vehicleId is required for the API call)

string

Comma separated list of vehicle identifiers (either the vehicle name, or the group name or the vehicleId is required for the API call)

int32
Defaults to 1

Page number of the paginated result

string
Defaults to false

Boolean value specifying whether vehicles under the child groups need to be included in the result or not

int32
Defaults to 0

Fetch updates since timestamp in UTC milliseconds

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json