GeofenceExit Event Schema
GeofenceExit Webhook Payload
Example
{
"eventId": "017db07f-6e95-470e-8cc0-a371f9deed2b",
"eventTime": "1970-01-20T06:39:05.683Z",
"eventType": "GeofenceExit",
"orgId": 20936,
"webhookId": "1411751028848270",
"data": {
"address": {
"externalIds": {
"maintenanceId": "250020",
"payrollId": "ABFS18600"
},
"formattedAddress": "350 Rhode Island St, San Francisco, CA",
"geofence": {
"circle": {
"latitude": 37.7749,
"longitude": 137.7749,
"radiusMeters": 23
},
"polygon": {
"vertices": [
{
"latitude": 37.7749,
"longitude": 137.7749
},
{
"latitude": 37.7749,
"longitude": 137.7749
}
]
},
"settings": {
"showAddresses": [
{
"latitude": 37.7749,
"longitude": 137.7749
},
{
"latitude": 37.7749,
"longitude": 137.7749
},
{
"latitude": 37.7749,
"longitude": 137.7749
},
{
"latitude": 37.7749,
"longitude": 137.7749
}
]
}
},
"id": "494123",
"name": "Company Office #1"
},
"vehicle": {
"externalIds": {
"maintenanceId": "250020",
"payrollId": "ABFS18600"
},
"id": "494123",
"licensePlate": "6SAM123",
"name": "Fleet Truck #1",
"vehicleVin": "1GBJ6P1B2HV112765"
}
}
}
Reference
Property Name | Description |
---|---|
address object | A minimal Address object representation used in AddressEventObject objects |
externalIds object | A map of external ids |
formattedAddress string | The full street address for this address/geofence, as it might be recognized by Google Maps. |
geofence object | The geofence that defines this address and its bounds. This can either be a circle or a polygon, but not both. |
circle object | Information about a circular geofence. This field is only needed if the geofence is a circle. |
latitude number | Latitude of the address. Will be geocoded from formattedAddress if not provided. |
longitude number | Longitude of the address. Will be geocoded from formattedAddress if not provided. |
radiusMeters integer | The radius of the circular geofence in meters. |
polygon object | Information about a polygon geofence. This field is only needed if the geofence is a polygon. |
vertices object array | The vertices of the polygon geofence. These geofence vertices describe the perimeter of the polygon, and must consist of at least 3 vertices and less than 40. |
latitude number | The latitude of a geofence vertex in decimal degrees. |
longitude number | The longitude of a geofence vertex in decimal degrees. |
settings object | Information about a geofence settings. |
showAddresses object array | The geofence setting. If this setting set to true, then underlying geofence addresses will be shown in reports instead of a geofence's name. |
latitude number | The latitude of a geofence vertex in decimal degrees. |
longitude number | The longitude of a geofence vertex in decimal degrees. |
id string | Id of the address |
name string | Name of the address |
vehicle object | A vehicle object |
externalIds object | A map of external ids |
id string | ID of the vehicle |
licensePlate string | The license plate of the vehicle. |
name string | Name of the vehicle |
vehicleVin string | The VIN of the vehicle. |
Updated about 1 month ago
Did this page help you?