get https://api.gomotive.com/v1/geofences/events
Purpose: Use this API to view the events of your existing Geofences. This API allows you to checkout the following information:
- Geofence Event Id
- Start time of the event
- Vehicle in the Geofence event
- Event starting driver details
- Event ending driver details
Response Parameters
Geofence Events
- Type: Array of Objects
- Description: Contains details of geofence events.
id
- Type: Integer
- Description: The unique identifier for the geofence event.
geofence_id
- Type: Integer
- Description: The unique identifier for the geofence associated with the event.
start_time
- Type: String
- Description: The start time of the geofence event.
end_time
- Type: String
- Description: The end time of the geofence event.
duration
- Type: Integer
- Description: The duration of the geofence event in seconds.
vehicle
- Type: Object
- Description: Details about the vehicle involved in the geofence event.
id
- Type: Integer
- Description: The unique identifier for the vehicle.
number
- Type: String
- Description: The vehicle's number.
year
- Type: String
- Description: The year the vehicle was manufactured.
make
- Type: String
- Description: The make of the vehicle.
model
- Type: String
- Description: The model of the vehicle.
vin
- Type: String
- Description: The vehicle identification number (VIN) of the vehicle.
metric_units
- Type: Boolean
- Description: Indicates if the vehicle uses metric units.
start_driver
- Type: Object
- Description: Details about the driver at the start of the geofence event.
id
- Type: Integer
- Description: The unique identifier for the start driver.
first_name
- Type: String
- Description: The first name of the start driver.
last_name
- Type: String
- Description: The last name of the start driver.
username
- Type: String
- Description: The username of the start driver.
email
- Type: String
- Description: The email address of the start driver.
driver_company_id
- Type: Integer
- Description: The company ID associated with the start driver.
status
- Type: String
- Description: The status of the start driver.
role
- Type: String
- Description: The assigned role of the user - driver.
end_driver
- Type: Object
- Description: Details about the driver at the end of the geofence event.
id
- Type: Integer
- Description: The unique identifier for the end driver.
first_name
- Type: String
- Description: The first name of the end driver.
last_name
- Type: String
- Description: The last name of the end driver.
username
- Type: String
- Description: The username of the end driver.
email
- Type: String
- Description: The email address of the end driver.
driver_company_id
- Type: Integer
- Description: The company ID associated with the end driver.
status
- Type: String
- Description: The status of the end driver.
role
- Type: String
- Description: The assigned role of the user - driver.