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
{
"messageEventType": "OIL_LIFE_EVENT",
"type": "TripExtendedDataMessageVO",
"messageType": "TRIP_EXTENDED_DATA_MESSAGE",
"serialNumber": "9080787160",
"processed": true,
"messageIndex": "544666",
"id": "240054bc-a700-4bab-8736-c8efc0400da0",
"locationStoreId": "240054bc-a700-4bab-8736-c8efc0400da0",
"deviceSerial": "9080787160",
"deviceId": "bbf62727-f66d-11e9-9858-69a64ab22b28",
"vehicleId": "bbf6001d-f66d-11e9-8437-774d0b0c1e5d",
"vehicleName": "85 2019 F250",
"groupId": "d94f1159-7df1-11eb-9b8b-ab1ec4b88281",
"groupName": "85 Fresno",
"customerId": 4245,
"locationTime": 1733748335000,
"tripNumber": 7556,
"location": {
"latitude": 36.6798209,
"longitude": -119.740008
},
"odometer": 134036,
"tripState": "IGNITION_OFF",
"fixQuality": 0,
"connected": true,
"offsetChanged": false,
"offset": -480,
"insideHOO": true,
"protocolVersionId": 8,
"vehicleProtocolId": 6,
"userId": "6c2fa3df-665a-11e6-b14e-4f0c8d141dca",
"userName": "Mike Rodrigue",
"assetNo": "",
"messageEventTypeId": 0,
"messageTypeId": 80,
"batteryPercentage": 0,
"lastKnownLat": 36.6798209,
"lastKnownLon": -119.740008,
"lastKnownTime": 1733748335000,
"lastKnownFixQuality": 0,
"processedTime": 1733748337108,
"partialUpdate": false,
"imei_meid": "015169001568191",
"deviceTypeId": 1,
"vendorTypeId": 1,
"vProtocolIdChange": false,
"protocolVersionIdChange": false,
"latitude": 36.6798209,
"longitude": -119.740008,
"stateId": 0,
"deviceAssociatedVIN": "1FTBF2A60KEG04577",
"privacyModeEnable": false,
"eventType": 1,
"reverse": 0,
"oilLife": 76,
"airbagLampStatus": 255,
"parkingBrakeStatus": 255,
"parkingBrakeLamp": 255,
"partitionKey": "9080787160"
}
Reference
Field | Description |
---|---|
messageEventType | Type of Message Event generated
Example: |
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: |
locationStoreIdString, UUID | Unique Azuga Id of the location
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: |
connected | Example: |
offsetChanged | Example: |
insideHOO | Indicates if inside hours of operation
Example: |
protocolVersionId | Example: |
vehicleVersionId | Example: |
userName | Name of the User
Example: |
userId | Unique Azuga generated ID of the user in UUID format
Example: |
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: |
processedTime | Event processed time in milliseconds
Example: |
partialUpdate | Example: |
imei_meid | Imei ID |
deviceTypeId | Type identifier for device
Example: |
vendorTypeId | Type identifier for vendor
Example: |
stateId | State identifier
Example: |
deviceAssociatedVIN | Vehicle Identification Number associated to a device
Example: |
assetNo | Asset number |
messageEventTypeId | Example: |
vProtocolIdChange | Example: |
protocolVersionIdChange | Indicates whether the protocol version changed.Example: |
privacyModeEnable | Indicates if privacy mode is enabled.Example: |
eventType | Type of Event
Example: |
reverse | Example: |
oilLife | Oil Life remaining in the vehicle in %
Example: |
airbagLampStatus | Example: |
parkingBrakeStatus | Example: |
parkingBrakeLamp | Example: |
partitionKey | Example: |
Updated about 1 month ago