Skip to main content
Omnitracs Knowledge Base

Delete Group

deleteGroup  

Deletes a group entry on the MMS grouping server given a group name.

A group must be empty of vehicles to be deleted.
 

DeleteGroupResponse deleteGroup(DeleteGroupRequest request)

Elements in the DeleteGroupRequest:

  • groupName: A string containing the name of the group being deleted.
     

Sample XML Request

Only the SOAP body is shown. To see a sample SOAP Envelope and Header, click here.

<SOAP-ENV:Body>
  <deleteGroupRequest xmlns="http://www.qualcomm.com/qgs">
    <groupName>Ant Test Group</groupName>
  </deleteGroupRequest>
</SOAP-ENV:Body>


Sample XML Response

An empty response conveys success. If there was an error, an exception would have been thrown.

<soapenv:Body>
    <ns2:deleteGroupResponse xmlns:ns2="http://www.qualcomm.com/qgs"/>
</soapenv:Body>


Exceptions

002: Required field not specified. The groupName is required.
005: Internal error: Call to the Delete Group API failed.
009: Group was not found.
010: Group is not empty of vehicles.

  • Was this article helpful?