42.0 Export Audit Report

42.2 Data Returned

Back to Index
Returned information:

A XML response or error message.

DTD:

<!ELEMENT auditreport (asset*)>

<!ELEMENT asset (event*)>
<!ATTLIST asset tagid CDATA #REQUIRED>
<!ATTLIST asset fleet CDATA #REQUIRED>
<!ATTLIST asset id ID #REQUIRED>
<!ATTLIST asset type CDATA #REQUIRED>

<!ELEMENT event (distance, idle, stop, travel, average_speed, max_speed, duration, elapsed, odometer)>
<!ATTLIST event type CDATA #REQUIRED>
<!ATTLIST event date CDATA #REQUIRED>
<!ATTLIST event zone CDATA #REQUIRED>

<!ELEMENT distance (#PCDATA)>
<!ATTLIST distance unit CDATA #REQUIRED>

<!ELEMENT idle (#PCDATA)>

<!ELEMENT stop (#PCDATA)>

<!ELEMENT travel (#PCDATA)>

<!ELEMENT average_speed (#PCDATA)>
<!ATTLIST average_speed unit CDATA #REQUIRED>

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

<!ELEMENT duration (#PCDATA)>

<!ELEMENT elapsed (#PCDATA)>

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

Reply Data
Name Description
tagid (asset) The Zonar RFID tag number assigned to the asset.
fleet (asset) Fleet number. An arbitrary text string of up to 20 characters in length.
id (asset) Database ID corresponding to the asset.
type (asset) The asset type identifier.
type (event) The event type name.
date (event) The date of the event.
zone The name of the Zone in which the data is returned.
distance The total distance this asset has traveled between the requested start time and the current segment.
unit (distance) The unit distance is given in.
idle Time spend idle in this segment.
stop Time spend stopped in this segment.
travel Time spend not idle or stopped in this segment.
average_speed Average speed during this segment.
unit (average_speed) The unit average_speed is given in.
max_speed Maximum speed for this segment.
unit (max_speed) The unit max_speed is given in.
duration Duration of this segment in HH:MM:SS.
elapsed Total time elapsed since the first log segment.
odometer Current odometer reading of this asset.
unit (odometer) The unit odometer is given in.

 

Example Request:

https://development.zonarsystems.net/interface.php?action=showposition&operation=audit&format=xml&starttime=1188889200
&endtime=1189061940&reqtype=dbid&target=191&loilocations[]=Acme%20HQ&loilocations[]=Acme%20Garage&filter=over&filtertime=60

EExample Success Reply

*LOI means Location of Interest; called “Zone” in GPS tools and reports in Ground Traffic Control web application.

Is this api manual documents helpful?
0 out of 0 said Yes
YesNo