Skip to main content
Omnitracs Knowledge Base


CreateVehicleGroup (Vehicle Function)

This function creates a vehicle group with the specified name. If a depot name is specified then it assigns the newly created vehicle group to the specified depot. If depot name specified does not exist then the function will fail with an error message.

XML Request

The CreateVehicleGroup function takes the following request parameters:

Parameter Type Description Mandatory/Optional If you have to specify a default value
GroupName String Name of the vehicle group that needs to be created Mandatory NO DEFAULT
DepotName String Name of the depot to which the above vehicle group need to be assigned. If nothing is specified or "null" is specified then the vehicle group is not assigned to any depot Optional "null"
    <CreateVehicleGroup xmlns="">  

XML Response

The return result indicates success or failure via boolean value.

    <CreateVehicleGroupResponse xmlns="">  
  • Was this article helpful?