Remove a user from a group

Remove a user from a specific Group ID. The Employee ID and the Group ID are supplied in the path. If the user is removed from all group associations it is placed within the Ungrouped Group. This does NOT delete the user record from the REVEAL account. DELETE methods do not return an object review, only a standard HTTP code.

delete
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/users/{employeeid}

Path Parameters

employeeidintegerrequired

The Employee ID, the unique identifier for the user within REVEAL.

Example:324234346

groupidstringrequired

The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

Example:CPTG1

Response

application/json

Successfully removed the user from the group.

 
application/json

Assign a vehicle to a group

Add a vehicle to a specific Group ID. The Vehicle Number is supplied in the body and the Group ID in the path. Assigning a vehicle to a group does not remove the vehicle from previously assigned groups; vehicles can belong to multiple groups. If the vehicle is assigned to a parent group, the vehicle is also associated with any subgroups. POST methods do not return an object review, only a standard HTTP code.

post
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/vehicles

Path Parameters

groupidstringrequired

The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

Example:CPTG1

Body

application/json

The vehicle number to assign to the group.

VehicleNumberBody

Request body to add a vehicle to a Group ID.

VehicleNumberstringrequired

The Vehicle Number is the unique identifier within the API. The Vehicle Number is not a mandatory field within the REVEAL account, but is required for the API.

Example:77771-1

Response

application/json

Successfully assigned the vehicle to the group.

 
application/json

Remove a vehicle from a group

Remove a vehicle from a specific Group ID. The Vehicle Number and the Group ID are supplied in the path. If the vehicle is removed from all group associations it is placed within the Ungrouped Group. This does NOT delete the vehicle record from the REVEAL account. DELETE methods do not return an object review, only a standard HTTP code.

delete
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/vehicles/{vehiclenumber}

Path Parameters

groupidstringrequired

The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

Example:CPTG1

vehiclenumberstringrequired

The Vehicle Number, the unique identifier used to reference the vehicle within the API.

Example:77771-1

Response

application/json

Successfully removed the vehicle from the group.

 
application/json

Group

object

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

Example

Error

object

Generic error response. The documentation does not define an explicit error body schema.

Messagestring

A human-readable description of the error.

Example