Get a specific group
Retrieve a group within a fleet by the Group ID. The integrated user can verify the Group Name that corresponds with a Group ID.
Path Parameters
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
Response
Successfully retrieved the specified group.
Group
A group within the REVEAL account.
The name of the group created within the REVEAL account.
Example:CPTESTGROUP
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
Remove an asset from a group
Removes the specified asset from the specified group. The asset is not deleted; it is only unassigned from the group.
Path Parameters
The unique asset number identifying the asset to remove from the group.
The unique group ID identifying the group to remove the asset from.
Response
Response
Successfully removed the asset from the group.
Assign an asset to a group
Assigns the specified asset to the specified group. If the asset is already in the group, no duplicate assignment is created.
Path Parameters
The unique asset number identifying the asset to assign to the group.
The unique group ID identifying the group to assign the asset to.
Response
Response
Successfully assigned the asset to the group.
Assign a driver to a group
Add a driver to a specific Group ID. The Driver Number is supplied in the body and the Group ID in the path. Assigning a driver to a group does not remove the driver from previously assigned groups; drivers can belong to multiple groups. If the driver is assigned to a parent group, the driver is also associated with any subgroups. POST methods do not return an object review, only a standard HTTP code.
Path Parameters
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
Body
The driver number to assign to the group.
DriverNumberBody
Request body to add a driver to a Group ID.
Driver Number is the unique identifier that will be used to reference the driver within the API. The Driver Number is not a mandatory field within the REVEAL account, but is required for the API.
Example:6543-10
Response
application/json
Response
Successfully assigned the driver to the group.
Remove a driver from a group
Remove a driver from a specific Group ID. The Driver Number and the Group ID are supplied in the path. If the driver is removed from all group associations it is placed within the Ungrouped Group. This does NOT delete the driver record from the REVEAL account. DELETE methods do not return an object review, only a standard HTTP code.
Path Parameters
The Driver Number, the unique identifier used to reference the driver within the API.
Example:6543-10
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
Response
Successfully removed the driver from the group.