# List Geofences in Enterprise API to view all the geofences in an enterprise Endpoint: GET /v0/enterprise/{enterprise_id}/geofence/ Version: 1.0.0 Security: apiKey ## Path parameters: - `enterprise_id` (string, required) A UUID string identifying the enterprise. ## Query parameters: - `search` (string) A search term. - `limit` (integer) Number of results to return per page. - `offset` (integer) The initial index from which to return the results. ## Response 200 fields (application/json): - `count` (integer, required) - `next` (string,null) - `previous` (string,null) - `results` (array, required) - `results.id` (string) id of the geofence - `results.name` (string, required) Name of the geofence - `results.description` (string) A description about the geofence - `results.enterprise` (string) id of the enterprise resource - `results.latitude` (string, required) Latitude corresponding to the geofence - `results.longitude` (string, required) Longitude corresponding to the geofence - `results.radius` (integer) The radius within which the geofence should be applied - `results.radius_unit` (string) The unit in which the radius is taken, eg - kilometers, meters etc Enum: "KILOMETERS", "METERS", "MILES" - `results.device_actions` (array) The actions to be performed on the device Enum: "LOCK_DOWN", "BEEP" - `results.device_count` (integer) Number of devices - `results.created_by` (string) The user who created the geofence - `results.created_on` (string) Date and time of when the geofence was created - `results.updated_on` (string) Date and time of when the geofence was updated ## Response 401 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 404 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 500 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer)