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.

put
https://api.us.vzconnect.com/geo/v1/geofences/circles/{placeid}

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the Geofence within the REVEAL account.

Example:123459

Body

application/json

Updated circle geofence details.

CircleGeofenceRequest

Content data provided when creating or editing a circular Geofence.

RadiusInKmnumber(double)

The radius in kilometers used to create the circular Geofence.

Example:2

PlaceIdstring

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

GeoFenceNamestring

The name of the Geofence.

Example:Garage 203

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

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

Longitudenumber(double)

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

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

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.

get
https://api.us.vzconnect.com/geo/v1/geofences/circles/{placeid}/spatialdata

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the circular Geofence within the REVEAL account.

Example:369852

Response

application/json

Successfully retrieved spatial data for the circular geofence.

CircleSpatialData

Granular spatial data for a circular Geofence.

ShapeTypestring

Circle, Rectangle, or Polygon.

Example:Circle

Latitudenumber(double)

Example:41.396927

Longitudenumber(double)

Example:-81.455925

RadiusInKmnumber(double)

The designated radius in kilometers used to create the circular Geofence referenced.

Example:0.27561

 
application/json

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.

post
https://api.us.vzconnect.com/geo/v1/geofences/rectangles

Body

application/json

Rectangle geofence details including corner coordinates.

RectangleGeofenceRequest

Content data provided when creating or editing a rectangular Geofence.

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:1

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:1

PlaceIdstring

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

GeoFenceNamestring

The name of the Geofence.

Example:Revtangle

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

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

Longitudenumber(double)

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

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

Response

application/json

Rectangular geofence successfully created.

RectangleGeofenceRequest

Content data provided when creating or editing a rectangular Geofence.

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:1

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:1

PlaceIdstring

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

GeoFenceNamestring

The name of the Geofence.

Example:Revtangle

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

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

Longitudenumber(double)

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

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

 
application/json

Update a rectangular geofence.

Edit an existing rectangular 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.

put
https://api.us.vzconnect.com/geo/v1/geofences/rectangles/{placeid}

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the Geofence within the REVEAL account.

Example:996788

Body

application/json

Updated rectangle geofence details.

RectangleGeofenceRequest

Content data provided when creating or editing a rectangular Geofence.

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:1

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:1

PlaceIdstring

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

GeoFenceNamestring

The name of the Geofence.

Example:Revtangle

CategoryNamestring

The name of the Category. Must already exist within REVEAL and match exactly, otherwise an error is returned.

Example:UnCategorized

Addressobject

Address contains the global standards for address components.

Show Child Parameters
Latitudenumber(double)

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

Longitudenumber(double)

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

EmailAddressstring

An email address that can be associated with the saved Geofence.

Example:depot@example.com

Notestring

A free form text space for users to provide additional details about the Geofence location.

Example:Main depot

PhoneNumberstring

A Phone Number that can be associated with the saved Geofence.

Example:216-522-2855

IsShownOnMapboolean

Denotes if the Geofence can be displayed on the Map.

Default:true

Example:true

IsShownOnReportboolean

Denotes if the Geofence can be displayed on Reports.

Default:true

Example:true

Response

Rectangular geofence successfully updated.

 

Retrieve spatial data for a rectangular geofence.

Retrieve the granular spatial data for a rectangular Geofence identified by its PlaceID.

get
https://api.us.vzconnect.com/geo/v1/geofences/rectangles/{placeid}/spatialdata

Path Parameters

placeidstringrequired

The PlaceID that uniquely identifies the rectangular Geofence within the REVEAL account.

Example:369852

Response

application/json

Successfully retrieved spatial data for the rectangular geofence.

RectangleSpatialData

Granular spatial data for a rectangular Geofence.

ShapeTypestring

Circle, Rectangle, or Polygon.

Example:Rectangle

Latitudenumber(double)

Example:53.389422

LengthInKmnumber(double)

The length of the rectangular Geofence in kilometers.

Example:0.3130492799997731

Longitudenumber(double)

Example:-2.925248

WidthInKmnumber(double)

The width of the rectangular Geofence in kilometers.

Example:0.40642887541418127

 
application/json