Retrieve All Geofence Visits
GET/geofences/visits
This endpoint retrieves a list of all visits for all geofences, with support for pagination.
Geofence visit records are generated only after a vehicle's trip has ended
(on IGN_OFF) and are not created in real time.
A visit that has not ended yet is returned with a null exit_timestamp,
including a visit that began up to 7 days before the requested period.
Visits are recorded per vehicle and per geofence. A vehicle that is inside
several geofences at the same time, for example overlapping geofences or a
geofence inside a larger one, has one visit for each of them, so it can
appear in several records with the same enter_timestamp.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
- 503
Successful operation
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.