21.0 Inspection Statistics

21.2 Data Returned

Back to Index
Returned information:
DTD:

<!ELEMENT inspstats (insp, assets, defects, assetdefects) >
<!ATTLIST inspstats ver CDATA #REQUIRED >
<!ELEMENT insp (count, unverified, incomplete)>
<!ELEMENT count (#PCDATA)>
<!ELEMENT unverified (#PCDATA)>
<!ELEMENT incomplete (#PCDATA)>
<!ELEMENT assets (count, inspected, red, yellow)>
<!ELEMENT count (#PCDATA)>
<!ELEMENT inspected (#PCDATA)>
<!ELEMENT red (#PCDATA)>
<!ELEMENT yellow (#PCDATA)>
<!ELEMENT defects (count, critical, noncritical, unrepaired, unrepairedcritical, unrepairednoncritical)>
<!ELEMENT count (#PCDATA)>
<!ELEMENT critical (#PCDATA)>
<!ELEMENT noncritical (#PCDATA)>
<!ELEMENT unrepaired (#PCDATA)>
<!ELEMENT unrepairedcritical (#PCDATA)>
<!ELEMENT unrepairednoncritical (#PCDATA)>
<!ELEMENT assetdefects (critical, noncritical)>
<!ELEMENT critical (#PCDATA)>
<!ELEMENT noncritical (#PCDATA)>

Explanation of Returned Data
Name Description
insp
  • count : Total count of all inspections meeting criteria.
  • unverified : Count of inspections with unverified zones (inspection performed manually).
  • incomplete : Count of inspections with skipped (unvisted) zones.
assets
  • count : Count of all assets. If location is specified, assets for that location.
  • inspected : Count of assets with inspections.
  • red : Count of assets with operational status Red. Assets with unrepaired critical defects.

    Important:This will be the current status, start and end does not affect this count.

  • yellow : Count of assets with operational status Yellow. Assets with unrepaired non-critical defects.

    Important:This will be the current status, start and end does not affect this count.

defects
  • count : Count of defects for inspections meeting criteria.
  • critical : Count of critical defects.
  • noncritical : Count of non-critical defects.
  • unrepaired : Count of unrepaired (open) defects.
  • unrepairedcritical : Count of unrepaired (open) critical defects.
  • unrepairednoncritical : Count of unrepaired (open) non-critical defects.
assetdefects
  • count : Count of assets with reported defects. Includes both repaired and unrepaired defects.
  • critical : Count of assets with reported critical defects. Includes both repaired and unrepaired defects.
  • noncritical : Count of assets with reported non-critical defects. Includes both repaired and unrepaired defects.
Example Request:

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

Example Success Reply