Skip to main content
Omnitracs Knowledge Base

Driiver->CreateDriverGroup

CreateDriverGroup(DriverFunction)

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

XML Request

The CreateDriverGroup function takes the following request parameters:

Parameter Type Description Mandatory/Optional If you have to specify a default value
GroupName String Name of the driver group that needs to be created Mandatory NO DEFAULT
DepotName String Name of the depot to which the above driver group need to be assigned. If nothing is specified or "null" is specified then the driver group is not assigned to any depot Optional "null"
   
<soap:Body>  
    <CreateDriverGroup xmlns="http://www.qualcomm.com">  
      <CreateDriverGroupRequest>  
        <GroupName>string</GroupName>  
        <DepotName>string</DepotName>  
      </CreateDriverGroupRequest>  
    </CreateDriverGroup>  
 </soap:Body>  

XML Response

The return result indicates success or failure via a boolean value.

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