Skip to main content
Omnitracs Knowledge Base

Address

Information about a landmark's address is implemented in the Address object.  The attributes of the Address object are:

 

Attribute

 

 

Description

 

street

A string of maximum length 50 containing the street address of the landmark.

city

A string of maximum length 25 containing the city of the landmark.

state

A string of maximum length 2 containing the state/province code of the landmark.

country

A string of maximum length 5 containing the country code of the landmark.

postalCode

A string of maximum length 12 containing the postal code of the landmark.

WSDL Definition

Here is how the LandmarkAddress object is defined within the WSDL

<complexType name="Address">

   <sequence>

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

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

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

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

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

   </sequence>

</complexType>




 

Sample XML

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

<Address>

  <street>123 Main Street</street>

  <city>Morgantown</city>

  <state>PA</state>

  <country>US</country>

  <postalCode>19543</postalCode>

</Address>

  • Was this article helpful?