Skip to main content
Omnitracs Knowledge Base

Export Vehicle Identification

 

exportVehicleIdentification

Given a vehicle identifier (optional) and a number of vehicles to return, this web service returns a list of Asset Identification 2 objects in alphabetical order by the Vehicle ID.

AssetIdentification2[] exportVehicleIdentification(string companyId, AssetIdentifier vehicle, int numOfVehicles) throws WSException

  • companyId: (optional) A string, maximum length 10, specifying the unique company identifier.
    NOTE: If no companyId is specified, the company of the authorized user making the call will be used.
  • vehicle: A QTWebServices AssetIdentifier containing the SCAC and ID.  The returned list will begin after (alphabetically) the vehicle that is specified on the call.  When the SCAC and ID inside the AssetIdentier are blank, the list will begin with the first vehicle in alphabetical order by the Vehicle ID.
  • numOfVehicles: The number of vehicles to return in the list.  The allowed range is 1 to 32766.

Return Data Notes:
- Returns a null string on exceptions; otherwise returns an array of AssetIdentification2 objects.

 

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

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>

   <exportVehicleIdentification>

      <companyId>ABCTRUCKS</companyId>

      <vehicle>

         <id>VEHICLE1</id>

         <scac></scac>

      </vehicle>

      <numOfVehicles>2</numOfVehicles>

   </exportVehicleIdentification>

</soap:Body>

 

Sample XML Response

 

<soapenv:Body>

   <exportVehicleIdentificationResponse>

      <exportVehicleIdentificationReturn>

        <AssetIdentification2>

          <id>VEHICLE2</id>

          <scac></scac>

          <ua>0108000555</ua>

          <name>An asset description</name>

          <VIN>1G6CD5183H4333111</VIN>

          <licensePlate>

            <number>FHN3423</number>

            <jurisdiction>US-PA</jurisdiction>

          </licensePlate>

        </AssetIdentification2>

        <AssetIdentification2>

          <id>VEHICLE3</id>

          <scac></scac>

          <ua>0108000556</ua>

          <name>An asset description</name>

          <VIN>2G6CD5183H4333112</VIN>

          <licensePlate>

            <number>ABC-1234</number>

            <jurisdiction>US-PA</jurisdiction>

          </licensePlate>

        </AssetIdentification2>

      </exportVehicleIdentificationReturn>

   </exportVehicleIdentificationResponse>

</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 invalid.
007 Vehicle id is invalid.
008 No vehicles found.
009 Invalid number of records specified.

  • Was this article helpful?