1.0OAS 3.0

The Customer Meta Data (CMD) Groups API is a RESTful web service that enables REVEAL customers to integrate 3rd party back-office systems to keep group hierarchy information up to date. The Group Service enables integrated users to assign or remove drivers, vehicles, users, and geofences to/from specific groups.

This API uses the following unique identifier(s): Group ID, Driver Number, Vehicle Number, Employee ID, Place ID. Standard REST verbs are applied: GET, POST, DELETE.

Note: The returned response is restricted to the Reveal account’s data plan; querying information outside of the data plan returns a 400 Bad Request.

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

Group API

Operations for retrieving groups and for adding or removing drivers, users, external users, vehicles, geofences and assets in a group.

Get all groups

Retrieve all groups within a fleet. The integrated user can verify the Group Name that corresponds with a Group ID to ensure proper placement of drivers, vehicles, and users within the REVEAL account.

get
https://api.us.vzconnect.com/cmd/v1/groups

Response

application/json

Successfully retrieved the list of groups.

A group within the REVEAL account.

Namestring

The name of the group created within the REVEAL account.

Example:CPTESTGROUP

Idstring

The unique identifier associated with the group created within the REVEAL account. The Group ID is an alphanumeric field that must be unique within the REVEAL account and is mandatory in order to reference the group through the integration services.

Example:CPTG1

 
application/json

Get groups for an asset

Retrieves all groups that the specified asset is assigned to. Use the asset number as the unique identifier.

get
https://api.us.vzconnect.com/cmd/v1/groups/assets/{assetnumber}

Path Parameters

assetnumberstringrequired

The unique asset number identifying the asset whose group memberships are being queried.

Response

application/json

Successfully retrieved the groups for the specified asset. An empty array is returned if the asset is not assigned to any group.

A group within the REVEAL account.

Namestring

The name of the group created within the REVEAL account.

Example:CPTESTGROUP

Idstring

The unique identifier associated with the group created within the REVEAL account. The Group ID is an alphanumeric field that must be unique within the REVEAL account and is mandatory in order to reference the group through the integration services.

Example:CPTG1

 
application/json

Get groups for a driver

Retrieve all groups the driver belongs to. Multiple groups can be returned for each Driver Number since drivers can belong to multiple groups within REVEAL.

get
https://api.us.vzconnect.com/cmd/v1/groups/drivers/{drivernumber}

Path Parameters

drivernumberstringrequired

The Driver Number, the unique identifier used to reference the driver within the API.

Example:6543-10

Response

application/json

Successfully retrieved the groups for the specified driver. An empty array is returned if the driver is not assigned to any group.

A group within the REVEAL account.

Namestring

The name of the group created within the REVEAL account.

Example:CPTESTGROUP

Idstring

The unique identifier associated with the group created within the REVEAL account. The Group ID is an alphanumeric field that must be unique within the REVEAL account and is mandatory in order to reference the group through the integration services.

Example:CPTG1

 
application/json