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.
|
Sample XML Response
|
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.