Skip to main content
Omnitracs Knowledge Base

Remove Vehicle From Group

removeVehicleFromGroup   


This method is not implemented and will throw an exception:  MMS Grouping service currently does not support the VehicleId implementations.

Adds a vehicle to a group given the identifier of the vehicle and the name of the group.

removeVehicleFromGroupResponse removeVehicleFromGroup(RemoveVehicleFromGroupRequest group)

Elements in the RemoveVehicleFromGroupRequest:

  • vehicleId: The ID of the vehicle to be added to the group
  • groupName: The name of the group to which this vehicle will be removed.
     

Sample XML Request

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

<SOAP-ENV:Body>
  <ns2:removeVehicleFromGroupRequest xmlns:ns2="http://www.qualcomm.com/qgs">
    <ns2:vehicleId>15</ns2:vehicleId>
    <ns2:groupName>A Test Group</ns2:groupName>
  </ns2:removeVehicleFromGroupRequest>
</SOAP-ENV:Body>


Sample XML Response

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


Exceptions

002: Required field not specified.
005: Internal error: Call to the Remove Vehicle from Group API failed.
009: Group was not found.
013: Vehicle is not a member of the group.

  • Was this article helpful?