13.0 Expired Assets Report

13.2 Data Returned

Back to Index
Returned information:

A list of assets with expiry information.

DTD:

<!ELEMENT assetexpirelist (assetexpire*)>
<!ATTLIST assetexpirelist ver CDATA #REQUIRED>
<!ELEMENT assetexpire (name, vin, fleet,location, expire)>
<!ATTLIST assetexpire dbid CDATA #REQUIRED>
<!ELEMENT name (#PCDATA)>
<!ELEMENT vin (#PCDATA)>
<!ELEMENT fleet (#PCDATA)>
<!ELEMENT location (#PCDATA)>
<!ELEMENT tag (#PCDATA)>
<!ELEMENT expire (label, exp, remaining, currval*)>
<!ATTLIST expire exptype (date|value) #REQUIRED>
<!ELEMENT label (#PCDATA)>
<!ELEMENT exp (#PCDATA)>
<!ELEMENT remaining (#PCDATA)>
<!ELEMENT currval (#PCDATA)>

The dbid attribute is the database id number of the asset. In protocol version 1.07 the tag element was added to provide the assets’s Zonar RFID tag number.

Time based expirys will not have a currval element as the current value is the time the request was made. Value based expirys will include this element as the currently reported value for the asset in question.

Example Request

Return all assets with time based expirys that will occur within 10 days.

http://development.zonarsystems.net/interface.php?action=showexpire&operation=asset&format=xml&rpttype=date&threshold=10

Example Success Reply

Example Request:

Return all assets with value based expirys that will occur within 300 units.

http://development.zonarsystems.net/interface.php?action=showexpire&operation=asset&format=xml&rpttype=value&threshold=300

Example Success Reply