Get an asset's GPS history

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

Returns the reported GPS location history of a non-powered asset between two dates, up to 30 days apart.

A 400 status will be returned if any of the following conditions are not met:

  • The assetnumber must not be null or empty and be no more than 96 characters long
  • The startdatetimeutc and enddatetimeutc parameters are both required and should have the format yyyy-MM-ddTHH:mm:ss
  • The enddatetimeutc DateTime cannot be before startdatetimeutc
  • The startdatetimeutc and enddatetimeutc must be within 30 days of each other
  • The enddatetimeutc DateTime cannot be after the DateTime that the request was made
  • The startdatetimeutc DateTime cannot be before the DataPlan of the requesting Account

Notes:

  • Gps history locations may be not found (Status 204) if the Asset has not yet reported a location, or if it has but the last time it reported was outside the DataPlan of the account

Sample request:

GET /v1/assets/A10001/status/history?startdatetimeutc=2020-04-27T19:00:00&enddatetimeutc=2020-05-01T01:00:00
get
https://api.us.vzconnect.com/ast/v1/assets/{assetNumber}/status/history

Query Parameters

endDateTimeUtcstringrequired

The end of the date range for which to get Gps location history for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be within 30 days of startDateTimeUtc. Must be after startDateTimeUtc and before the DateTime the request was made.

Example:2020-05-01T01:00:00

startDateTimeUtcstringrequired

The start of the date range for which to get Gps location history for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be within 30 days of endDateTimeUtc. Must be within the account’s DataPlan

Example:2020-04-27T19:00:00

Path Parameters

assetNumberstringrequired

The AssetNumber for which to get Gps location history. Should not be null or empty and should be no more than 96 characters long

Example:A10001

Response

If the request was successful

Designed for Asset History requests
/v1/assets/{assetnumber}/status/history

Addressobject

Address contains the global standards for address components

Show Child Parameters
DeviceTimeZoneOffsetinteger(int32)

The GPS device’s current time zone compared to UTC

Example:12

DeviceTimeZoneUseDSTboolean

If the REVEAL account is set to acknowledge Daylight Savings Time then this value will return as TRUE. REVEAL accounts in the United States are automatically defaulted to True.

Example:false

Latitudenumber(double)

The latitude of the location

Example:-41

Longitudenumber(double)

The longitude of the location

Example:163

UpdateUTCstring(date-time)

The date time that the location was reported to reveal

Example:2020-04-29T22:06:37

 

Geofence API

Operations for creating, retrieving, updating, and deleting circular and rectangular geofences within a REVEAL account, including their spatial data.

Retrieve geofences by category or group.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

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.

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

Query Parameters

categoryNamestring

The name of the Category to retrieve Geofences for. Must match exactly as saved within REVEAL.

Example:REST Test

groupIdstring

The Group ID to retrieve assigned Geofences for.

Example:22325

Response

application/json

Successfully retrieved the list of geofences.

GeofenceCollection

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
 
application/json

Create a circular geofence.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

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.

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

Body

application/json

Circle geofence details including center coordinates and radius.

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

application/json

Circular geofence successfully created.

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

 
application/json

Update a circular geofence.

Before you start

Before you make your first API call, make sure you have the following:

  • Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
  • You have the Client ID and Client Secret for your integration.
  • Get an access token using your Client ID and Client Secret. For instructions, read get your token.

If you are maintaining an existing integration configured before November 27, 2026 using an App ID and legacy credentials, follow the Call the APIs with legacy credentials Guide.

Purpose

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.