Oil Life Remaining (%)
The Oil Life Remaining event captures the remaining oil life percentage at the end of each trip, helping fleet managers monitor plan servicing effectively.
**Event Type:**OIL_LIFE_EVENT
Trigger Condition
Subscription to the OIL_LIFE_EVENT event is mandatory. This event is triggered in real-time at the end of each trip.
Example Payload
{
"messageType": "OIL_LIFE_EVENT",
"generatedAt": 1756691025096,
"data": {
"messageEventType": "OIL_LIFE_EVENT",
"type": "TripExtendedDataMessageVO",
"messageType": "TRIP_EXTENDED_DATA_MESSAGE",
"serialNumber": "0051186154",
"processed": true,
"messageIndex": "287855",
"id": "27001385-0f00-493e-bd60-6b9a4907be04",
"deviceSerial": "0051186154",
"deviceId": "0124953a-ab1c-11ea-a4b9-d1056846be00",
"vehicleId": "01249539-ab1c-11ea-a4b9-3b7935ef5afe",
"vehicleName": "B71304",
"groupId": "4797f1c1-e9e6-11e8-bbe5-ab3e90681676",
"groupName": "175 - OKC North",
"customerId": 6888,
"locationTime": 1756691019000,
"tripNumber": 9468,
"location": {
"latitude": 43.0825847,
"longitude": -96.1776143
},
"odometer": 386656,
"tripState": "IGNITION_OFF",
"fixQuality": 0,
"offset": -300,
"insideHOO": true,
"userId": "8a94dd08-918c-6eee-0191-c8f9f19571b3",
"userName": "JENNIFER MILLER",
"assetNo": "B71304",
"messageEventTypeId": 0,
"messageTypeId": 80,
"batteryPercentage": 0,
"lastKnownLat": 43.0825847,
"lastKnownLon": -96.1776143,
"lastKnownTime": 1756691019000,
"lastKnownFixQuality": 0,
"partialUpdate": false,
"imei_meid": "015169002246235",
"deviceTypeId": 1,
"vendorTypeId": 1,
"protocolVersionIdChange": false,
"latitude": 43.0825847,
"longitude": -96.1776143,
"stateId": 0,
"deviceAssociatedVIN": "1FM5K7D87HGB71304",
"privacyModeEnable": false,
"eventType": 1,
"reverse": 0,
"oilLife": 96,
"airbagLampStatus": 255,
"parkingBrakeStatus": 255,
"parkingBrakeLamp": 255,
"partitionKey": "0051186154"
}
}
Reference
Field | Description |
|---|---|
messageEventType | Type of Message Event generated
Example: |
generatedAt | Time when the event was generated (in milliseconds). Example: 1756684774651 |
type | Type of event
Example: |
messageType | Type of Message
Example: |
serialNumber | Serial Number of the Device
Example: |
processed | Indicates if the event message has been processed by the system
Example: |
messageIndex | Unique index or identifier of the event message from the device
Example: |
id | Unique identifier for the event
Example: |
deviceSerial | Device serial number
Example: |
deviceId | Unique identifier for the device
Example: |
vehicleId | Unique identifier for the vehicle
Example: |
vehicleName | Name of the vehicle
Example: |
groupName | Name of the group
Example: |
groupId | Unique Azuga generated ID of the group in UUID format
Example: |
locationTime | Timestamp of location data in milliseconds
Example: |
customerId | Unique Azuga ID of the customer
Example: |
tripNumber | Trip number
Example: |
location | Current location object of the vehicle |
latitude | Latitude co-ordinate value in degrees
Example: |
longitude | Longitude co-ordinate value in degrees
Example: |
odometer | Odometer reading (kms)
Example: |
tripState | Current trip state
Example: |
fixQuality | Fix quality status
Example: |
offset | Offset value
Example: |
insideHOO | Indicates if inside hours of operation
Example: |
userName | Name of the User
Example: |
userId | Unique Azuga generated ID of the user in UUID format
Example: |
assetNo | Asset number |
messageTypeId | Type identifier for message
Example: |
batteryPercentage | Percentage of Battery at time of event in %
Example: |
lastKnownLat | Last known latitude in degrees
Example: |
lastKnownLon | Last known longitude in degrees
Example: |
lastKnownTime | Last known timestamp in milliseconds
Example: |
lastKnownFixQuality | Last known fix quality
Example: |
partialUpdate | Example: |
imei_meid | Imei ID |
deviceTypeId | Type identifier for device
Example: |
vendorTypeId | Type identifier for vendor
Example: |
stateId | State identifier
Example: |
protocolVersionIdChange | Indicates whether the protocol version changed.Example: |
deviceAssociatedVIN | VIN (Vehicle Identification Number) linked to the device. |
privacyModeEnable | Indicates if privacy mode is enabled.Example: |
eventType | Type of Event
Example: |
reverse | Indicates reverse gear status.Example: |
oilLife | Oil Life remaining in the vehicle in %
Example: |
airbagLampStatus | Status of airbag warning indicator. Example: |
parkingBrakeStatus | Status of parking brake. Example: |
parkingBrakeLamp | Parking brake warning indicator status. Example: |
partitionKey | Key used for backend data processing. Example: |
Updated 10 days ago
