19.0 Get Yard Events

19.2 Data Returned

Back to Index
DTD

<!ELEMENT yardlog (count, event*)>
<!ATTLIST yardlog ver CDATA #REQUIRED>
<!ELEMENT count (#PCDATA)>
<!ELEMENT event (#EMPTY)>
<!ATTLIST event assetid CDATA #REQUIRED>
<!ATTLIST event tag CDATA #REQUIRED>
<!ATTLIST event fleet CDATA #REQUIRED>
<!ATTLIST event state CDATA #REQUIRED>
<!ATTLIST event timestamp CDATA #REQUIRED>
<!ATTLIST event uploadlocation CDATA #IMPLIED>
<!ATTLIST event opstatus CDATA #IMPLIED>
<!ATTLIST event inspid CDATA #IMPLIED>
<!ATTLIST event inspdate CDATA #IMPLIED>

Note: The opstatus, inspid and inspdate attributes refer to the asset’s current operational status, last inspection id number and last inspection date respectively. See the get assets function for a detailed explanations of the operational status.

Example Request

http://development.zonarsystems.net/interface.php?action=showstats
&operation=yardlog&format=xml

Example Success Reply