EXIT_GEOFENCE
The EXIT_GEOFENCE event is used to notify when a vehicle exits a predefined geofence region, helping users monitor vehicle movements outside designated areas.
Event Type: EXIT_GEOFENCE
Trigger Condition
Subscription to the EXIT_GEOFENCE
event is mandatory. The event is triggered instantly when a vehicle leaves the boundary of a created geofence region with the exit condition enabled.
Example Payload
{
"inputBit7": 0,
"partialUpdate": false,
"inputBit4": 0,
"voiceCallActive": 0,
"inputBit3": 0,
"inputBit6": 0,
"inputBit5": 0,
"type": "GeoFenceMessageVO",
"deviceId": "e4c97790-14c3-11ed-9449-7dd6059504b4",
"networkService": 0,
"commStateConnected": 0,
"messageType": "EXIT_GEOFENCE",
"messageIndex": null,
"dimentionFix": 0,
"lastKnownLon": 0,
"geoFenceType": null,
"inputBit0": 0,
"inputBit2": 0,
"id": "1c00bf48-5d00-4990-bbce-5c71f14d0d84",
"state": null,
"inputBit1": 0,
"commStatusAvaliable": 0,
"locality": null,
"eventIndex": 0,
"assetNo": null,
"fixStatusCorrected": 0,
"deviceSerial": "9076501020",
"groupName": "Default Group",
"lastKnownTime": null,
"jmsType": "",
"vehicleName": "9076501020",
"deviceTypeId": 0,
"destinationQueues": null,
"city": null,
"latitude": null,
"unitStatus": 0,
"invalidFix": 0,
"dataService": 0,
"noOfAccums": 0,
"customerId": 15047,
"beaconMacAddress": null,
"tripNumber": 0,
"sensorValue": null,
"spare": 0,
"address": "Zaheerabad, Telangana, India",
"roaming": 0,
"messageEventType": null,
"stateId": 0,
"updateTime": null,
"userId": null,
"batteryPercentage": 0,
"currentState": 0,
"deviceProtocolMessageId": null,
"messageEventTypeId": 0,
"zipCode": null,
"country": null,
"deviceAssociatedVIN": null,
"beaconType": null,
"groupId": "559d6f4c-11bf-11ed-8895-27b5feb885d3",
"vendorTypeId": 0,
"firmwareVersion": null,
"fixStatuslastKnown": 0,
"fixStatusHistoric": 0,
"longitude": null,
"satellites": null,
"locationTime": 1664103127000,
"odometer": 0,
"offset": 0,
"sensorUnitVal": null,
"virtualTripEnd": false,
"imei_meid": null,
"insideHOO": true,
"eventInfo": null,
"timeOfFix": null,
"sensorNames": null,
"tripPolyline": null,
"lastKnownLat": 0,
"fixQuality": 0,
"unitStatusBit0": 0,
"unitStatusBit2": 0,
"unitStatusBit1": 0,
"unitStatusBit3": 0,
"storedLocation": false,
"protocolVersionIdChange": false,
"accumesList": null,
"accumulators": null,
"fixStatusPredict": 0,
"network3G": 0,
"lastKnownAddress": null,
"geoFenceAlertReason": null,
"privacyModeEnable": false,
"fixStatus": 0,
"vehicleId": "e4c9778f-14c3-11ed-9449-17f42fbb1b68",
"lastKnownFixQuality": 0,
"userName": null,
"fenceName": "fence zhb",
"tripState": null,
"messageTypeId": 0,
"obdSpeed": null,
"location": {
"latitude": 17.380672,
"longitude": 78.484538
},
"commonState": 0,
"carrierId": null
}
Reference
Field | Description |
---|---|
type | Message type. |
deviceId | Unique identifier of the device. |
messageType | Type of message. |
lastKnownLon | Last known longitude in degrees. |
geoFenceType | Type of geofence. |
id | Message unique ID. |
locality | Locality or region. |
assetNo | Asset number. |
deviceSerial | Serial number of the device. |
groupName | Name of the group. |
vehicleName | Vehicle name. |
deviceTypeId | Type ID of the device. |
city | City name. |
customerId | Unique Azuga Customer ID. |
tripNumber | Unique trip number. |
address | Full address of the vehicle. |
updateTime | Time the update occurred. |
userId | ID of the user. |
messageEventTypeId | ID of the message event type. |
zipCode | ZIP code. |
country | Country name. |
locationTime | Timestamp of location data in milliseconds
Example: |
groupId | Unique Identifier of the Group. |
virtualTripEnd | Indicates if the trip ended virtually. |
imei_meid | IMEI or MEID of the device. |
insideHOO | Inside Hours of Operation. |
lastKnownLat | Last known latitude in degrees. |
storedLocation | Indicates whether the location is stored. |
protocolVersionIdChange | Indicates whether protocol version changed. |
privacyModeEnable | Indicates if privacy mode is enabled. |
vehicleId | Unique Identifier of vehicle. |
fenceName | Name of the geofence. |
location | Current location object of the vehicle |
latitude* | Latitude co-ordinate value in degrees
Example: |
longitude | Longitude co-ordinate value in degrees
Example: |
Updated 4 days ago