Skip to main content
Omnitracs Knowledge Base

Delete Vehicle


Delete a vehicle given the vehicle identifier.

void deleteVehicle(AssetIdentifier vehicleId) throws WSException

  • vehicleId: A QTWebServices (AssetIdentifier containing the SCAC and ID of the vehicle to be deleted.


Authorization Requirements


The credentials supplied with this method call (as specified in the accompanying WS-Security header) must be authorized to the following application(s) and their associated role-based permissions.

Required Application Licenses
- Remote Integration

Required User Permissions
- Can use QTRACS
- Can set up vehicles
- Can see data for all assets OR the vehicle must be in the user's coverage or global group

Customer integrators are authorized to their own company's data only. 


Sample XML Request


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










Sample XML Response


No response conveys success. If delete did not succeed, an exception would have been thrown.







002 Required field not specified.
003 Company not authorized for access through integration.
004 User is not authorized.
005 SCAC is required.
006 SCAC is invalid.
007 Vehicle ID is required.
008 Vehicle not found.
009 Cannot delete a vehicle that has QMASS routing assignments

  • Was this article helpful?