Skip to main content
Omnitracs Knowledge Base

Change Vehicle VIN

changeVehicleVIN

This web service allows the a vehicle's VIN to be changed.

void changeVehicleVIN(String companyId, AssetIdentifier vehicle, String VIN) throws WSException

  • companyId: A string of maximum length 10 that specifies the unique company identifier.
  • vehicle: An AssetIdentifier object containing the SCAC and ID of the vehicle whose identification information is to be returned.
  • VIN: A string of exactly 17 alphanumeric characters containing the VIN of the vehicle. Characters I, O, Q are not permitted.

 

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.

<soap:Body>

    <changeVehicleVIN>

        <companyId>MYCOMPANY</companyId>

        <vehicle>

            <id>EON01</id>

            <scac></scac>

        </vehicle>

        <VIN>1G6CD5183H4333111</VIN>

    </changeVehicleVIN>

</soap:Body>

 

Sample XML Response

 

<soapenv:Body>

    <changeVehicleVINResponse/>

</soapenv:Body>

 

Exceptions

 

002 Required field not specified.
003 Company not authorized for integration.
004 User is not authorized.
005 Invalid company id.
006 SCAC is required.
007 SCAC is invalid.
008 Vehicle ID is required.
009 Vehicle not found.
010 VIN is invalid.
011 Cannot change VIN of an auxiliary vehicle.

  • Was this article helpful?