44.0 Generic Data

44.2 Data Returned

Back to Index
DTD

<!ELEMENT gsmgendata (count, gendata*)>
<!ATTLIST gsmgendata ver CDATA #REQUIRED>
<!ATTLIST gsmgendata count CDATA #REQUIRED>
<!ELEMENT gendata (#PCDATA)>
<!ATTLIST gendata timestamp CDATA #REQUIRED>
<!ATTLIST gendata timestamp CDATA #REQUIRED>
<!ATTLIST gendata fleet CDATA #REQUIRED>
<!ATTLIST gendata assetid CDATA #REQUIRED>
<!ATTLIST gendata assettag CDATA #REQUIRED>
<!ATTLIST gendata exsid CDATA #REQUIRED>
<!ATTLIST gendata assettype CDATA #REQUIRED>
<!ATTLIST gendata sn CDATA #REQUIRED>
<!ATTLIST gendata label CDATA #REQUIRED>
<!ATTLIST gendata type (INT | FLOAT | STRING | POSITION | UNKNOWN) #REQUIRED>

Inspection Report Results
Reply Data
Name Description
version The version number of the API call and return data.
count The number of results returned.
ctimestamp The collection timestamp of the data. Not all data has a collection timestamp in which case this will be 0. Unix epoch timestamp (UTC).
ltimestamp When the data was loaded into the system database. All data items will have this timestamp. Unix epoch timestamp (UTC).
fleet The asset fleet number the data is associated with. Usually displayed in the web interface as Asset No. Alphanumeric, 20 characters maximum. This may be empty if the asset does not have a fleet number or the remote unit which collected the data has not been assigned to an asset.
assettag The Zonar RFID tag number of the asset the data is associated with. Numeric either a positive integer or zero. This may be zero if the asset does not have a tag number or the remote unit which collected the data has not been assigned to an asset.
exsid External system identifier of the asset the data is associated with. This may be empty if the asset does not have an exsid or the remote unit which collected the data has not been assigned to an asset. Arbitrary text up to 40 characters in length.
assetype The type of the asset. This may be empty if the remote unit which collected the data has not been assigned to an asset. See asset types for more details.
assetid Database id of the asset the data is associated with. This may be a positive integer or zero if the remote unit which collected the data has not been assigned to an asset.
sn The serial number of the GPS unit that collected the data. A positive integer.
label Label used to identify the data value. String, 32 characters maximum length.
type The type of data.

  • INT Data is an integer value.
  • FLOAT Data is a double precision floating point value.
  • STRING Data is a string, maximum length 255 characters.
  • POSITION Data is a geographical location coordinate.
  • UNKNOWN Should not be encountered.
The data itself.

 

Example Request

https://example.zonarsystems.net/interface.php?format=xml&action=showopen&operation=gendata&version=2

Example Reply