30.0 Routes

30.2 Data Returned

Back to Index
DTD

<!ELEMENT routelist (route*)>
<!ATTLIST routelist ver CDATA #REQUIRED>
<!ATTLIST routelist count CDATA #REQUIRED>
<!ELEMENT route (name, start, end, duration, asset*, operator*)>
<!ATTLIST route id CDATA #REQUIRED>

<!ELEMENT routenum (#PCDATA)>
<!ELEMENT start (#PCDATA)>
<!ELEMENT end (#PCDATA)>
<!ELEMENT duration (#PCDATA)>
<!ELEMENT asset (fleet, tagid, type)>
<!ATTLIST asset id CDATA #REQUIRED>
<!ELEMENT fleet (#PCDATA)>
<!ELEMENT tag (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT operator (fname, lname, tag)>
<!ATTLIST operator id CDATA #REQUIRED>
<!ELEMENT fname (#PCDATA)>
<!ELEMENT lname (#PCDATA)>
<!ELEMENT tag (#PCDATA)>

Reply Data
Name Description
ver The version number of the API call and return data.
count The number of results returned.
id The internal database identifier number for the route. Unsigned integer quantity.
routenum The route number label for the route. String data 32 characters maximum length.
start The starting time of the route. Expressed in HH:MM:SS TZ 24 hour time.
end The ending time of the route. Expressed in HH:MM:SS TZ 24 hour time.
duration The time required for the route. Expressed in HH:MM:SS format.
asset The asset (if any) assigned this route.
id The assigned asset’s internal database identifier.
fleet Fleet number. An arbitrary text string of up to 20 characters in length. If the asset is a vehicle this is intended to be the user assigned identification for the vehicle. This is usually labeled ‘Asset No.’ in the web interface. The combination of fleet number and type must be unique for each asset. All assets must have a fleet number.
tag The Zonar RFID tag number assigned to the asset. Coupled with the Type, this is usually the means by which an asset is identified in an inspection. The combination of tag number and type must be unique for each asset. May be zero.
type The asset type identifier. The combination of tag number and type or fleet number and type is used to uniquely identify the asset. Text, 32 characters maximum length. All assets have a type.
operator The driver (if any) assigned to this route.
id The assigned operators’s internal database identifier.
fname Operator’s first name. An arbitrary text string of up to 32 characters in length.
lname Operator’s last name. An arbitrary text string of up to 32 characters in length.
tag Zonar Systems™ RFID tag number of the operator. A non zero 32 bit integer quantity.
Example Request

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

Example Success Reply

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