Retrieve geofences by category or group.
Retrieve Geofence data by Category Name or Group ID. Provide exactly one of categoryName and groupId. Categories and Group management reside within REVEAL and are provided as additional query parameters. Category names must be presented exactly as they are saved within REVEAL.
Query Parameters
The name of the Category to retrieve Geofences for. Must match exactly as saved within REVEAL.
Example:REST Test
The Group ID to retrieve assigned Geofences for.
Example:22325
Response
application/json
Response
Successfully retrieved the list of geofences.
GeofenceCollection
A list of Geofences assigned to the provided Category Name and/or Group ID.
The total number of Geofence locations assigned to the provided Category Name and/or Group ID.
Example:1
Show Child Parameters
Show Child Parameters
Create a circular geofence.
Create a circular Geofence within REVEAL. If only an Address is provided, the Geofence is created referencing that address. If only coordinates are provided, it is created referencing the latitude and longitude (an error is returned if either latitude or longitude is missing). If both address and coordinates are provided, the coordinate values are used. All Geofences created with POST are assigned to the ENTIRE FLEET group; use the Customer Meta Data Group API to change group assignment. A Category Name may be supplied but must already exist within REVEAL and match exactly, otherwise an error is returned.
Body
application/json
Body
Circle geofence details including center coordinates and radius.
CircleGeofenceRequest
Content data provided when creating or editing a circular Geofence.
The radius in kilometers used to create the circular Geofence.
Example:2
A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.
Example:123459
The name of the Geofence.
Example:Garage 203
The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.
Example:UnCategorized
Address contains the global standards for address components.
Show Child Parameters
The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.
Example:41.391756
The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.
Example:-81.670929
An email address that can be associated with the saved Geofence.
Example:depot@example.com
A free form text space for users to provide additional details about the Geofence location.
Example:Main depot
A Phone Number that can be associated with the saved Geofence.
Example:216-522-2855
Denotes if the Geofence can be displayed on the Map.
Default:true
Example:true
Denotes if the Geofence can be displayed on Reports.
Default:true
Example:true
Response
application/json
Response
Circular geofence successfully created.
CircleGeofenceRequest
Content data provided when creating or editing a circular Geofence.
The radius in kilometers used to create the circular Geofence.
Example:2
A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.
Example:123459
The name of the Geofence.
Example:Garage 203
The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.
Example:UnCategorized
Address contains the global standards for address components.
Show Child Parameters
The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.
Example:41.391756
The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.
Example:-81.670929
An email address that can be associated with the saved Geofence.
Example:depot@example.com
A free form text space for users to provide additional details about the Geofence location.
Example:Main depot
A Phone Number that can be associated with the saved Geofence.
Example:216-522-2855
Denotes if the Geofence can be displayed on the Map.
Default:true
Example:true
Denotes if the Geofence can be displayed on Reports.
Default:true
Example:true
Update a circular geofence.
Edit an existing circular Geofence within REVEAL. If only an Address is provided, the address is referenced. If only coordinates are provided, the latitude and longitude are referenced (an error is returned if either is missing). If both are provided, the coordinate values are used. A Category Name may be supplied but must already exist within REVEAL and match exactly, otherwise an error is returned. PUT methods do not return an object review; the response is limited to standard HTTP codes. The PlaceID in the path identifies the Geofence.
Path Parameters
The PlaceID that uniquely identifies the Geofence within the REVEAL account.
Example:123459
Body
application/json
Body
Updated circle geofence details.
CircleGeofenceRequest
Content data provided when creating or editing a circular Geofence.
The radius in kilometers used to create the circular Geofence.
Example:2
A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.
Example:123459
The name of the Geofence.
Example:Garage 203
The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.
Example:UnCategorized
Address contains the global standards for address components.
Show Child Parameters
The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.
Example:41.391756
The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.
Example:-81.670929
An email address that can be associated with the saved Geofence.
Example:depot@example.com
A free form text space for users to provide additional details about the Geofence location.
Example:Main depot
A Phone Number that can be associated with the saved Geofence.
Example:216-522-2855
Denotes if the Geofence can be displayed on the Map.
Default:true
Example:true
Denotes if the Geofence can be displayed on Reports.
Default:true
Example:true
Response
Response
Circular geofence successfully updated.
Retrieve spatial data for a circular geofence.
Retrieve the granular spatial data for a circular Geofence identified by its PlaceID.
Path Parameters
The PlaceID that uniquely identifies the circular Geofence within the REVEAL account.
Example:369852
Response
application/json
Response
Successfully retrieved spatial data for the circular geofence.
CircleSpatialData
Granular spatial data for a circular Geofence.
Circle, Rectangle, or Polygon.
Example:Circle
Example:41.396927
Example:-81.455925
The designated radius in kilometers used to create the circular Geofence referenced.
Example:0.27561
Create a rectangular geofence.
Create a rectangular Geofence within REVEAL. If only an Address is provided, the Geofence is created referencing that address. If only coordinates are provided, it is created referencing the latitude and longitude (an error is returned if either latitude or longitude is missing). If both address and coordinates are provided, the coordinate values are used. All Geofences created with POST are assigned to the ENTIRE FLEET group; use the Customer Meta Data Group API to change group assignment. A Category Name may be supplied but must already exist within REVEAL and match exactly, otherwise an error is returned.
Body
application/json
Body
Rectangle geofence details including corner coordinates.
RectangleGeofenceRequest
Content data provided when creating or editing a rectangular Geofence.
The length of the rectangular Geofence in kilometers.
Example:1
The width of the rectangular Geofence in kilometers.
Example:1
A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.
Example:996788
The name of the Geofence.
Example:Revtangle
The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.
Example:UnCategorized
Address contains the global standards for address components.
Show Child Parameters
The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.
Example:41.391756
The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.
Example:-81.670929
An email address that can be associated with the saved Geofence.
Example:depot@example.com
A free form text space for users to provide additional details about the Geofence location.
Example:Main depot
A Phone Number that can be associated with the saved Geofence.
Example:216-522-2855
Denotes if the Geofence can be displayed on the Map.
Default:true
Example:true
Denotes if the Geofence can be displayed on Reports.
Default:true
Example:true
Response
application/json
Response
Rectangular geofence successfully created.
RectangleGeofenceRequest
Content data provided when creating or editing a rectangular Geofence.
The length of the rectangular Geofence in kilometers.
Example:1
The width of the rectangular Geofence in kilometers.
Example:1
A unique value within a REVEAL account used to identify a Geofence. The Place ID is a mandatory field to use the Geospatial API.
Example:996788
The name of the Geofence.
Example:Revtangle
The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.
Example:UnCategorized
Address contains the global standards for address components.
Show Child Parameters
The latitude of the center point of the Geofence. Provide it together with Longitude. If both coordinates and an Address are provided, the coordinates are used.
Example:41.391756
The longitude of the center point of the Geofence. Provide it together with Latitude. If both coordinates and an Address are provided, the coordinates are used.
Example:-81.670929
An email address that can be associated with the saved Geofence.
Example:depot@example.com
A free form text space for users to provide additional details about the Geofence location.
Example:Main depot
A Phone Number that can be associated with the saved Geofence.
Example:216-522-2855
Denotes if the Geofence can be displayed on the Map.
Default:true
Example:true
Denotes if the Geofence can be displayed on Reports.
Default:true
Example:true