get https://services.azuga.com/azuga-ws-oauth/v3/devices/.json
This API provides you with information about a single device present in your account. You are allowed to fetch only the device you have access to. You need to pass the unique identifier of the device to get the metadata of the device.
Sample Request
https://services.azuga.com/azuga-ws-oauth/v3/devices/01cff9f3-e5ae-11ec-9f98-d71f751c0e0c.json
API Response Explanation
Field | Description | Data Type |
---|---|---|
generatedAtInMillis | Time in UTC milliseconds when the API request is made | Timestamp |
data | The object which consists of metadata of the device. | Object |
deviceId | Unique identifier representing the device | String |
customerId | Unique identifier representing the customer | Long |
productCode | Product code of the device | String |
imei_meid | IMEI number of the device | String |
serialNum | Serial number of the device | String |
simNumber | Serial number of the SIM present in the device | String |
firmwareVersion | Version of the firmware installed in the device | String |
configVersion | Configuration version of the device | String |
addedBy | For internal use | String |
dateAdded | Timestamp of the device added to the account in UTC milliseconds | Timestamp |
status | For internal use | Integer |
lastContactDate | Timestamp in UTC milliseconds when the device last communicated with the server | Timestamp |
createdBy | For Internal use | String |
createdAt | For Internal use | Timestamp |
lastModifiedBy | For Internal use | String |
lastModifiedAt | For Internal use | Timestamp |
deleted | Boolean representing the deleted status; True = Deleted, False = Not Deleted | boolean |
deletedAt | Deleted time in UTC milliseconds | Timestamp |
vehicleId | For Internal use | String |
vehicleName | Name of the vehicle | String |
lastTimezone | For Internal use | String |
tzUpdatedAt | For Internal use | Timestamp |
offset | For Internal use | Integer |
lastVNTRecordTime | For Internal use | Timestamp |
postedSpeedLimitEnabled | Boolean value representing whether the posted speed limit is enabled | Boolean |
deviceTypeId | Unique identifier representing the type of the device 1 = Datalogger 6 = Asset Tracker 11 = SafetyCam | Integer |
deviceVendorId | Unique identifier representing the vendor 1 - Danlaw(DataLogger by Danlaw) ; deviceTypeId: 1 2 - Calamp(Asset Tracker by Calamp) ; deviceTypeId: 2 2 - Calamp(DataLogger by Calamp) ; deviceTypeId: 1 3 - Queclink(Asset Tracker by Queclink) ; deviceTypeId: 6 9 - Azuga(License Tracker) ; deviceTypeId: 8 10 - SmartWitness ; deviceTypeId: 11 13 - BYOD ; deviceTypeId: 11 14 - Azuga SafetyCam ; deviceTypeId: 11 15 - Surfsight ; deviceTypeId: 11 | Integer |
vendorName | Name of the vendor | String |
packageId | For Internal use | String |
packageType | For Internal use | String |
cameraType | For Internal use | String |
cameraProductCode | For Internal use | String |
inwardSerialNum | For Internal use | String |
recorderId | For Internal use | String |
sfdc | For Internal use | String |
staticPairing | For Internal use | Boolean |
groupName | Name of the group associated with the device | String |
groupId | Unique identifier representing the group | String |
deletedReason | For Internal use | String |
createdAtString | For Internal use | String |
lastContactString | For Internal use | String |
dateAddedString | For Internal use | String |
deviceName | Name of the device type ; Datalogger, Asset Tracker etc | String |
productCodeId | Unique Identifier representing the Product Code | Integer |
carrierId | Unique identifier of the network provider | Integer |
phoneNumber | Phone number of the SIM present in the device | Long |
deviceDesc | For Internal use | String |
productCodeName | Name of the product - For Internal use | String |
carrierName | Carrier name of the sim | String |
trackeeId | Unique identifier representing the vehicle | String |
vehicleProtocolId | For Internal use | Integer |
protocolVersionId | For Internal use. Indicates if the vehicle uses OBD or JBUS protocol for communication | Integer |
imsi | For Internal use | String |
devImage | For Internal use | String |
tcpDataEnabled | For Internal use | boolean |
vehicleProtocolName | For Internal use. Name of the communication protocol used by the vehicle | String |
moveDevice | For Internal use | boolean |
error | Error description - if any | List |