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

Retrieve a specific geofence by PlaceID.

Retrieve details regarding a specific Geofence identified by its PlaceID.

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

Path Parameters

placeidstringrequired

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

Example:369852

Response

application/json

Successfully retrieved the geofence details.

GeofenceByIdResponse

The details of a specific Geofence retrieved by Place ID.

geofenceobject
Show Child Parameters
_linksobject
Show Child Parameters
 
application/json

Delete a geofence.

Delete any Geofence shape type from a REVEAL account. The DELETE Geofence method does not return an object review; the response is limited to standard HTTP codes.

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

Path Parameters

placeidstringrequired

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

Example:369852

Response

application/json

Geofence successfully deleted.

 
application/json

GeofenceCollection

object

A list of Geofences assigned to the provided Category Name and/or Group ID.

Countinteger

The total number of Geofence locations assigned to the provided Category Name and/or Group ID.

Example:1

_linksobject
Show Child Parameters
_embeddedobject
Show Child Parameters
Example

RectangleGeofenceRequest

object

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

Example