Skip to main content
Omnitracs Knowledge Base

Vehicle->UpdateVehicleGroup

UpdateVehicleGroup (Vehicle Function)

This function updates the details of a vehicle group record. Both the group name and depot name that the group has been assigned to can be changed. The new depot that is being specified has to be created first if it does not exist.

XML Request

The UpdateVehicleGroup function takes the following request parameters:

Parameter Type Description Mandatory/Optional Default Value (If you have to specify one)
existingValues.GroupName String Name of the vehicle group that has to be modified Mandatory NO DEFAULT
existingValues.DepotName String Name of the depot to which the above vehicle group was assigned to Optional "null"
newValues.GroupName String Name to which the above vehicle group's name needs to be changed. If there is no change, please specify the existing value Mandatory NO DEFAULT
newValues.DepotName String Name of the depot to which the above vehicle group needs to be assigned. If not specified or "null" is specified then it retains the original value Optional "null"
  
<soap:Body>  
    <UpdateVehicleGroup xmlns="http://www.qualcomm.com">  
      <existingValues>  
        <GroupName>string</GroupName>  
        <DepotName>string</DepotName>  
      </existingValues>  
      <newValues>  
        <GroupName>string</GroupName>  
        <DepotName>string</DepotName>  
      </newValues>  
    </UpdateVehicleGroup>  
</soap:Body>  

XML Response

The return result indicates success or failure via SOAP exceptions.

  
<soap:Body>  
    <UpdateVehicleGroupResponse xmlns="http://www.qualcomm.com">  
      <UpdateVehicleGroupResult>  
        <IsSuccess>boolean</IsSuccess>  
      </UpdateVehicleGroupResult>  
    </UpdateVehicleGroupResponse>  
</soap:Body>  
  • Was this article helpful?