get https://api.azuga.com/azuga-ws/v1/device/view.json
This API provides you with information of all the devices present in your account. You can also get details of a particular device by passing its serial number as a parameter.
Sample Request
API Response Explanation
Field | Description |
---|---|
code | API status code |
message | API Message (Success/Failure) |
messageCode | Reason for failure |
generatedAt | API generation timestamp in UTC |
offset | Time offset in minutes |
deviceId | Unique identifier of the device |
deviceSerialNumber | Serial number of the device. Note that a device can be Datalogger/Asset Tracker/Safetycam etc which are currently active in your account |
imei | IMEI number of the device |
simNumber | Serial number of the SIM present in the device |
simPhoneNumber | Phone number of the SIM present in the device |
carrier | Network provider |
productCode | Product code of the device |
description | Description of the device |
customerId | Unique identifier of the customer |
firmwareVersion | Version of the firmware installed in the device |
configVersion | Configuration version of the device |
activationDate | Timestamp in milliseconds when the device was activated |
lastContactDate | Timestamp in milliseconds when the device last communicated with the server |
vehicleProtocolVersion | Indicates if the vehicle uses OBD or JBUS protocol for communication |
vehicleName | Name of the vehicle |
vehicleId | Unique identifier of the vehicle |
vehicleProtocolName | Name of the communication protocol used by the vehicle |
deviceTypeId | For Azuga internal use |
deviceVendorId | For Azuga internal use |
deviceType | Type of the device |
deviceVendor | Name of the vendor |
cameraType | Comma-separated strings representing the type of camera - Road/Driver facing. |
inwardSerialNum | Inward facing camera serial number |