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.
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 vehicle number to assign to the group.
VehicleNumberBody
Request body to add a vehicle to a Group ID.
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
Response
Successfully assigned the vehicle to the group.
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.
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
The Vehicle Number, the unique identifier used to reference the vehicle within the API.
Example:77771-1
Response
application/json
Response
Successfully removed the vehicle from the group.
Group
objectA 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
Error
objectGeneric error response. The documentation does not define an explicit error body schema.
A human-readable description of the error.
VehicleNumberBody
objectRequest body to add a vehicle to a Group ID.
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