Skip to main content
Omnitracs Knowledge Base

Get Driver Details 2

getDriverDetails2

Given a driver identifier, this web service returns a Driver 2 object.

Driver2 getDriverDetails2(string driverId) throws WSException

  • driverId: A string containing a unique driver identifier.

Returns a null string on exceptions; otherwise returns a Driver 2 object.

 

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 see drivers

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>

   <getDriverDetails2>

      <driverId>ABCD123456</driverId>

   </getDriverDetails2>

</soap:Body>

 

Sample XML Response

 

<soapenv:Body>

  <getDriverDetails2Response>

    <getDriverDetails2Return>

      <driverId>ABCD123456</driverId>

      <driverName>Joe Bob</driverName>

      <driverLogin>11111</driverLogin>

      <prefMonPassword>1254</prefMonPassword>

      <fleetId>Main</fleetId>

      <subfleetId>Milk Men</subfleetId>

      <loggedOnTime></loggedOnTime>

      <loggedOntoVehicle></loggedOntoVehicle>

      <connectedTrailers></connectedTrailers>

      <alias>Big Joe</alias>

      <assignedVehicle></assignedVehicle>

      <cdl>[US-PA]54654564</cdl>

      <cdlEndorsements>

        <string>T - Double/Triple Trailers</string>

        <string>S - School Bus</string>

      </cdlEndorsements>

      <status>O</status>

      <shift>first</shift>

      <employeeType>P</employeeType>

      <limitations></limitations>

      <bidNumber>A1</bidNumber>

      <assignedCompanyLocation></assignedCompanyLocation>

      <customDriverAttributes>

        <CustomDriverAttribute>

          <name>Shoe size</name>

          <value>9.5</value>

        </CustomDriverAttribute>

        <CustomDriverAttribute>

          <name>Shirt size</name>

          <value></value>

        </CustomDriverAttribute>

      </customDriverAttributes>

      <driverFirstName>Joe</driverFirstName>

      <driverLastName>Bob</driverLastName>

    </getDriverDetails2Return>

  </getDriverDetails2Response>

</soapenv:Body>

 

Exceptions

 

001 Unknown Error.
002 Required field not specified.
003 Company not authorized for integration.
004 User not authorized.
005 DriverId must be specified.
006 Driver cannot be found with specified information.

  • Was this article helpful?