Skip to main content
Omnitracs Knowledge Base

Driver 2

Information about a driver is implemented in the Driver2 object. A Driver2 object provides all of the information in a Driver object with additional data. The attributes of a Driver2 object are:

 

Attribute

 

 

Description

 

 

createDriver2 value

 

 

editDriver2 value

 

driverId

A string of 4-10 characters containing the unique identifier of the driver.

required

required - used to identify the driver whose details are to be modified. Thus, a driver's driverId cannot be modified once a driver is created.

driverName

A string of maximum length 30 containing the name of the driver.

required

required

driverLogin 

A string of maximum length 8 containing the login password entered by the driver on the mobile device. Passwords are alphanumeric. 

required

required

prefMonPassword

A string of maximum length 9 containing the Performance Monitoring login password entered by the driver on the mobile device. Performance Monitoring passwords are strings containing all digits. 

required - when the company is licensed for Performance Monitoring

ignored - cannot be modified once a driver is created

fleetId

A string of maximum length 32 containing the fleet id of the driver.

ignored - auto-filled by the system

ignored - auto-filled by the system

subfleetId

A string of maximum length 32 containing the sub-fleet id of the driver. 

optional

optional

loggedOnTime

A string containing a timestamp in the form YYYY-MM-DDTHH:MM:SSZ.
Contains the time (GMT) when the driver logged on to a vehicle. 

ignored - auto-filled by the system

ignored - auto-filled by the system

loggedOntoVehicle

An Asset Identifier object containing the SCAC and ID of the vehicle the driver is currently logged onto.

ignored; auto-filled by the system

ignored; auto-filled by the system

connectedTrailers[]

An array of Asset Identifier objects, each Assetidentifer contains the SCAC and ID of a trailer that is currently connected to the LoggedOntoVehicle. Up to 5 connected trailers are returned.

ignored; auto-filled by the system

ignored; auto-filled by the system

alias 

A string of maximum length 30 containing the alias of the driver. 

optional

optional

assigned Vehicle

An Asset Identifier object containing the SCAC and ID of the vehicle the driver is assigned to.

optional

optional

cdl

A string of maximum length 20 containing the driver's CDL number. The ISO 3166-2 compliant CDL Jurisdiction may optionally be included in brackets if the CDL is specified. (e.g. [US-PA]12345678)

optional

optional

cdlEndorsements[] 

An array of strings, maximum length 60 characters each, containing the cdl endorsements assigned to this driver. Additional information about cdl endorsements can be found here

blank - do not assign cdl endorsements
null - do not assign cdl endorsements

blank - remove all assigned cdl endorsements
null - keep current cdl endorsements

status 

A single character value containing the driver's status. Valid values are:
O = Off
S = Sick Leave
T = Terminated
M = Medical
A = Available
U = Unavailable

optional

optional

shift 

A string of maximum length 30 containing the driver's shift. 

optional

optional

employeeType 

A single character value containing the driver's employee type. Valid values are: 
S = Seasonal
T = Temporary
P = Part-time
F = Full-time
E = Permanent

optional

optional

limitations[]

An array of strings, maximum length 60 characters each, containing the limitations assigned to this driver. Addditonal information about limitations can be found here

blank - do not assign limitations
null - do not assign limitations

blank - remove all assigned limitations
null - keep current limitations

bidNumber 

A string of maximum length 30 containing the driver's bid number. 

optional

optional

assignedCompanyLocation

A string of maximum length 25 containing the name of the company location landmark the driver is assigned to. 

optional

optional

customDriverAttributes[]

An array of the Custom Driver Attribute objects, containing the custom driver attribute names and associated values for this driver. Additional information about custom driver attributes can be found here.

Look here .

Look here.

driverFirstName

A string of 2-35 characters in length containing the first name of the driver.

required if the QT-to-HOS entity maintenance bridge is enabled; otherwise optional 

optional

driverLastName

A string of 2-35 characters in length containing the last name of the driver.

required if the QT-to-HOS entity maintenance bridge is enabled; otherwise optional 

optional

WSDL Definition

Here is how the Driver2 object is defined within the WSDL

<complexType name="Driver2">

  <sequence>

    <element name="driverId" nillable="true" type="xsd:string"/>

    <element name="driverName" nillable="true" type="xsd:string"/>

    <element name="driverLogin" nillable="true" type="xsd:string"/>

    <element name="prefMonPassword" nillable="true" type="xsd:string"/>

    <element name="fleetId" nillable="true" type="xsd:string"/>

    <element name="subfleetId" nillable="true" type="xsd:string"/>

    <element name="loggedOnTime" nillable="true" type="xsd:string"/>

    <element name="loggedOntoVehicle" nillable="true" type="tns2:AssetIdentifier"/>

    <element name="connectedTrailers" nillable="true" type="impl:ArrayOf_tns2_nillable_AssetIdentifier"/>

    <element name="alias" nillable="true" type="xsd:string"/>

    <element name="assignedVehicle" nillable="true" type="tns2:AssetIdentifier"/>

    <element name="cdl" nillable="true" type="xsd:string"/>

    <element name="cdlEndorsements" nillable="true" type="tns2:ArrayOf_xsd_nillable_string"/>

    <element name="status" nillable="true" type="xsd:string"/>

    <element name="shift" nillable="true" type="xsd:string"/>

    <element name="employeeType" nillable="true" type="xsd:string"/>

    <element name="limitations" nillable="true" type="tns2:ArrayOf_xsd_nillable_string"/>

    <element name="bidNumber" nillable="true" type="xsd:string"/>

    <element name="assignedCompanyLocation" nillable="true" type="xsd:string"/>

    <element name="customDriverAttributes" nillable="true" type="impl:ArrayOf_tns2_nillable_CustomDriverAttribute"/>

    <element name="driverFirstName" nillable="true" type="xsd:string"/>

    <element name="driverLastName" nillable="true" type="xsd:string"/>

  </sequence>

</complexType>





 

Sample XML

Here is a sample showing what the Driver object would look like in XML

<Driver2>

   <driverId>AAAA123A</driverId>

   <driverName>TED K CORNWALLA</driverName>

   <driverLogin>A1B2C3D4</driverLogin>

   <prefMonPassword>254568</prefMonPassword>

   <fleetId>CORNERSTONE</fleetId>

   <subfleetId>DRYVAN</subfleetId>

   <loggedOnTime xsi:nil="true"/>

   <loggedOntoVehicle>

     <id/>

     <scac/>

   </loggedOntoVehicle>

   <connectedTrailers xsi:nil="true"/>

   <alias>Big Joe</alias>

   <assignedVehicle>

     <id>CSI464</id>

     <scac/>

   </assignedVehicle>

   <cdl>ABC123</cdl>

   <cdlEndorsements>

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

     <string>P - Passenger</string>

     <string>N - Tank Vehicle</string>

   </cdlEndorsements>

   <status>S</status>

   <shift>Over night</shift>

   <employeeType>S</employeeType>

   <limitations>

     <string>Prescription Eyewear</string>

     <string>$!#$%&amp;'()*+,-./:;&lt;=>?@</string>

   </limitations>

   <bidNumber>BA1</bidNumber>

   <assignedCompanyLocation>A Company Location</assignedCompanyLocation>

   <customDriverAttributes>

     <CustomDriverAttribute>

       <name>Hat Size</name>

       <value>blue</value>

     </CustomDriverAttribute>

     <CustomDriverAttribute>

       <name>Prescription Eyewear</name>

       <value>super large</value>

     </CustomDriverAttribute>

     <CustomDriverAttribute>

       <name>Blood Type</name>

       <value>43</value>

     </CustomDriverAttribute>

     <CustomDriverAttribute>

       <name>Shirt Size</name>

       <value>modest mouse</value>

     </CustomDriverAttribute>

   </customDriverAttributes>

   <driverFirstName>Ted</driverFirstName>

   <driverLastName>Cornwalla</driverLastName>

</Driver2>

  • Was this article helpful?