1.0OAS 3.0

The Non-Powered Assets Update API is a RESTful web service that enables integrated users to poll GPS location-based information of the Non-Powered Assets within the Reveal account. This API only interacts with Non-Powered Assets; any Powered Asset trackers must be queried using the Vehicle Update API. Note: the returned locations are restricted to the Reveal account’s data plan; a last location reported outside the data plan is treated as not found (204 No Content for a single asset, or a location Status of 404 in a batch response). The Token Authorization API must be called first to retrieve a valid token for all subsequent calls.

API Base URL
  • Server 1:https://api.us.vzconnect.com

Non-Powered Assets Update API

Operations for finding the latest reported location of a non-powered asset by its asset number, for one asset or up to 50 at a time.

Get the last location for each of the requested assetNumbers

Because multiple assetNumbers can be requested, the response will indicate the success status of the Asset and if the Asset is found, its respective location.

For each distinct requested Asset, the response will have a Status of

  • 200 if the assetNumber was found for the account
  • 400 if the assetNumber was invalid (empty, whitespace only, or longer than 96 characters)
  • 404 if the assetNumber was not found for the account

For each successfully found Asset of assetNumbers, the last location will have a Status of

  • 200 if the last location was successfully found for the respective Asset
  • 404 if no last location was found (within the account Data Plan) for the respective Asset
  • 500 if something else went wrong while fetching the last location of the Asset

Notes:

  • A location may be not found (location Status 404) 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
  • Duplicate assetNumbers are ignored. assetNumbers are compared case-insensitively and ignoring trailing whitespace
  • assetNumbers may have a maximum of 50 entries per request, counted before duplicates are removed. If this is exceeded, a 400 response will be returned
  • The order of the response items is not guaranteed to match the order of the request
  • If the asset or location lookup fails for the whole request, a 500 response is returned instead of per-Asset statuses

Sample request:

POST /ast/v1/assets/locations
[
   "A10001",
   "A10002",
   "X99999"
]
post
https://api.us.vzconnect.com/ast/v1/assets/locations

Body

A list of up to 50 assetNumbers for which to retrieve the last location. Duplicate assetNumbers are ignored.

array[string]

Response

If the request was successful

AssetNumberstringrequired

The AssetNumber called in the request, returned within the response.

Example:A10001

ContentResourceobject

The last location lookup result. null unless Status is 200.

Show Child Parameters
Statusinteger(int32)

The status code indicating whether the AssetNumber could be found. 200 if found; 400 if the AssetNumber is invalid (empty, whitespace only, or longer than 96 characters); 404 if no Asset with that AssetNumber exists in the account.

Allowed values:200400404