64.0 Path Summary

64.2 Data Returned

Back to Index
Returned information:
XML DTD

<!ELEMENT pathsummary (asset*)>

WITH XML ADD

<!ATTLIST pathsummary ver CDATA #REQUIRED>
<!ATTLIST pathsummary assetcount CDATA #REQUIRED>

<!ELEMENT asset (start, end, odometer, max_speed, max_idle, max_stop)>
<!ATTLIST asset id CDATA #REQUIRED>
<!ATTLIST asset fleet CDATA #REQUIRED>
<!ATTLIST asset type CDATA #REQUIRED>
<!ATTLIST asset tag CDATA #REQUIRED>
<!ATTLIST asset exsid CDATA #REQUIRED>

<!ELEMENT start (#PCDATA)>
<!ATTLIST start lon CDATA #REQUIRED>
<!ATTLIST start lat CDATA #REQUIRED>
<!ATTLIST start zone CDATA #REQUIRED>

<!ELEMENT end (#PCDATA)>
<!ATTLIST end lon CDATA #REQUIRED>
<!ATTLIST end lat CDATA #REQUIRED>
<!ATTLIST end zone CDATA #REQUIRED>

<!ELEMENT odometer (#PCDATA)>
<!ATTLIST odometer min CDATA #REQUIRED>
<!ATTLIST odometer max CDATA #REQUIRED>

<!ELEMENT max_speed (#PCDATA)>
<!ATTLIST max_speed lon CDATA #REQUIRED>
<!ATTLIST max_speed lat CDATA #REQUIRED>

<!ELEMENT max_idle (#PCDATA)>
<!ATTLIST max_idle lon CDATA #REQUIRED>
<!ATTLIST max_idle lat CDATA #REQUIRED>

<!ELEMENT max_stop (#PCDATA)>
<!ATTLIST max_stop lon CDATA #REQUIRED>
<!ATTLIST max_stop lat CDATA #REQUIRED>

WITH JSON ADD

<!ELEMENT event bbox (sw*, nw*)>
<!ELEMENT event sw (x, y)>
<!ELEMENT event x CDATA #REQUIRED>
<!ELEMENT event y CDATA #REQUIRED>
<!ELEMENT event ne (x, y)>
<!ELEMENT event x CDATA #REQUIRED>
<!ELEMENT event y CDATA #REQUIRED>

Reply Data
Name Description
version – (XML ONLY) The version number of the API call and return data.
assetcount The number of results returned.
Asset id The internal identifier for the asset.
Asset fleet The fleet identifier for the asset.
Asset tag The Zonar Tag id for the asset.
Asset exsid The external system identifier for the asset.
Start lon The longitude of the first point in the requested time period.
Start lat The latitude of the first point in the requested time period.
Start Zone The GPS Zone of the first point in the requested time period.
End lon The longitude of the last point in the requested time period.
End lat The latitude of the last point in the requested time period.
End Zone The GPS Zone of the last point in the requested time period.
Odometer min The odometer of the first point in the requested time period.
Odometer max The odometer of the last point in the requested time period.
Max Speed lon The longitude of the max speed in the requested time period.
Max Speed lat The latitude of the max speed in the requested time period.
Max Speed Zone The GPS Zone of the max speed in the requested time period.
Max Idle lon The longitude of the max idle in the requested time period.
Max Idle lat The latitude of the max idle in the requested time period.
Max Idle Zone The GPS Zone of the max idle in the requested time period.
Max Stop lon The longitude of the max stop in the requested time period.
Max Stop lat The latitude of the max stop in the requested time period.
Max Stop Zone The GPS Zone of the max stop in the requested time period.
Bounding Box – (For Maps JSON ONLY)

SW

  • X Coord
  • Y Coord

NE

  • X Coord
  • Y Coord

 

Example XML Request

https://development.zonarsystems.net/interface.php?action=showposition&operation=pathsummary&format=xml&customer=abc1234&start=1141397988&end=1141398000

Example JSON Request

https://development.zonarsystems.net/interface.php?action=showposition&operation=pathsummary&format=json&customer=abc1234&start=1141397988&end=1141398000

Example XML Success Reply

Example JSON Success Reply