Skip to main content
Omnitracs Knowledge Base

Mileage Counter

The MileageCounter object is implemented as the MileageCounter class. The attributes of a MileageCounter:

 

Attribute

 

 

Description

 

value

A double that contains value of the most recent mileage counter.
U.S. and Imperial valid range is 0 - 2,668,768.9 miles. Metric valid range is 0 - 4,294,967.2 km.

time

A string containing a timestamp in the form YYYY-MM-DDTHH:MM:SSZ indicating the timestamp associated with the Mileage Counter value.



 

WSDL Definition

Here is how the Mileage Counter  object is defined within the WSDL

<complexType name="MileageCounter">

  <sequence>

    <element name="value" type="xsd:double" />

    <element name="time" nillable="true" type="xsd:String" />

  </sequence>

</complexType>



 

Sample XML

Here is some sample XML that shows what the Mileage Counter  object will look like in XML

<MileageCounter>    

  <value>865214</value>

  <time>2015-12-08T20:47:36Z</time>

</MileageCounter>

  • Was this article helpful?