Skip to main content
Omnitracs Knowledge Base

Load Object

Header information about a load is defined in the Load object. The attributes of the Load object are:

 

Attribute

 

 

Description

 

loadId

A string of maximum length 20 that uniquely identifies the load. It is case-sensitive.

driver1Id

A string of maximum length 10 that identifies the first driver assigned to the load.

driver2Id

A string of maximum length 10 that identifies the second driver assigned to the load.

vehicle

An Assetidentifier object containing information about the vehicle assigned to the load.

trailer1

An Assetidentifier object containing information about the first trailer assigned to the load.

trailer2

An Assetidentifier object containing information about the second trailer assigned to the load.

trailer3

An Assetidentifier object containing information about the third trailer assigned to the load.

hazmatCodes

A string of maximum length 256 containing hazmat codes for the load.

comments

A string of maximum length 256 containing comments about the load.

generalUse1

A string of maximum length 256 that may be used as desired.

generalUse2

A string of maximum length 256 that may be used as desired.

generalUse3

A string of maximum length 256 that may be used as desired.

WSDL Definition

Here is how the Load object is defined within the WSDL.

<complexType name="Load">

   <sequence>

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

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

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

      <element name="vehicle" nillable="true" type="tns3:AssetIdentifier"/>

      <element name="trailer1" nillable="true" type="tns3:AssetIdentifier"/>

      <element name="trailer2" nillable="true" type="tns3:AssetIdentifier"/>

      <element name="trailer3" nillable="true" type="tns3:AssetIdentifier"/>

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

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

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

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

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

   </sequence>

</complexType>

Sample XML

Here is some sample XML that shows what the Load object will look like in XML.

<load>

  <loadId>3631</loadId>

  <driver1Id>KJONES</driver1Id>

  <driver2Id/>

  <vehicle>

    <id>ABC12345</id>

    <scac/>

  </vehicle>

  <trailer1>

    <id>DEF6789</id>

    <scac>ABCD</scac>

  </trailer1>

  <trailer2/>

  <trailer3/>

  <hazmatCodes>1.3</hazmatCodes>

  <comments>Load needs to be delivered by 10:00</comments>

  <generalUse1/>

  <generalUse2/>

  <generalUse3/>

</load>

  • Was this article helpful?