68.0 JBus Trip Report

68.2 Data Returned

Back to Index
Returned XML DTD for logvers=1

<!ELEMENT jbustrip(trip*) >
<!ATTLIST jbustrip count CDATA>
<!ATTLIST jbustrip ver CDATA>
<!ELEMENT trip(asset, start, end, fuel, pto_fuel, idle_fuel, fuel_units, miles, mpg, engine_hours, pto_hours, totals)>
<!ELEMENT asset >
<!ATTLIST asset id CDATA>
<!ATTLIST asset fleet CDATA>
<!ATTLIST asset exsid CDATA>
<!ELEMENT start (#PCDATA) #REQUIRED>
<!ELEMENT end (#PCDATA) #REQUIRED>
<!ELEMENT fuel (#PCDATA) #REQUIRED>
<!ELEMENT pto_fuel (#PCDATA) #REQUIRED>
<!ELEMENT idle_fuel (#PCDATA) #REQUIRED>
<!ELEMENT fuel_units (#PCDATA) #REQUIRED>
<!ELEMENT miles (#PCDATA) #REQUIRED>
<!ELEMENT mpg (#PCDATA) #REQUIRED>
<!ELEMENT engine_hours (#PCDATA) #REQUIRED>
<!ELEMENT pto_hours (#PCDATA) #REQUIRED>
<!ELEMENT totals(fuel_total, idle_fuel_total, pto_fuel_total, odometer, odometer_units, engine_hours_total, pto_hours_total)>
<!ELEMENT fuel_total (#PCDATA) #REQUIRED>
<!ELEMENT idle_fuel_total (#PCDATA) #REQUIRED>
<!ELEMENT pto_fuel_total (#PCDATA) #REQUIRED>
<!ELEMENT odometer (#PCDATA) #REQUIRED>
<!ELEMENT odometer_units (#PCDATA) #REQUIRED>
<!ELEMENT engine_hours_total (#PCDATA) #REQUIRED>
<!ELEMENT pto_hours_total (#PCDATA) #REQUIRED>

Returned XML DTD for logvers=2

<!ELEMENT jbustrip(trip*) >
<!ATTLIST jbustrip count CDATA>
<!ATTLIST jbustrip ver CDATA>
<!ELEMENT trip(asset, start, end, fuel, pto_fuel, idle_fuel, fuel_units, miles, mpg, engine_hours, pto_hours, totals)>
<!ATTLIST trip id CDATA>
<!ELEMENT asset >
<!ATTLIST asset id CDATA>
<!ATTLIST asset fleet CDATA>
<!ATTLIST asset exsid CDATA>
<!ELEMENT start (#PCDATA) #REQUIRED>
<!ELEMENT end (#PCDATA) #REQUIRED>
<!ELEMENT fuel (#PCDATA) #REQUIRED>
<!ELEMENT pto_fuel (#PCDATA) #REQUIRED>
<!ELEMENT idle_fuel (#PCDATA) #REQUIRED>
<!ELEMENT fuel_units (#PCDATA) #REQUIRED>
<!ELEMENT miles (#PCDATA) #REQUIRED>
<!ELEMENT mpg (#PCDATA) #REQUIRED>
<!ELEMENT engine_hours (#PCDATA) #REQUIRED>
<!ELEMENT pto_hours (#PCDATA) #REQUIRED>
<!ELEMENT totals(fuel_total, idle_fuel_total, pto_fuel_total, odometer, odometer_units, engine_hours_total, pto_hours_total)>
<!ELEMENT fuel_total (#PCDATA) #REQUIRED>
<!ELEMENT idle_fuel_total (#PCDATA) #REQUIRED>
<!ELEMENT pto_fuel_total (#PCDATA) #REQUIRED>
<!ELEMENT odometer (#PCDATA) #REQUIRED>
<!ELEMENT odometer_units (#PCDATA) #REQUIRED>
<!ELEMENT engine_hours_total (#PCDATA) #REQUIRED>
<!ELEMENT pto_hours_total (#PCDATA) #REQUIRED>

Reply Data
Name Description
jbustrip count Number of JBus trips queried from system, given filters
jbustrip ver API version used to query data
trip id Microtrip ID
asset id Internal asset ID
asset fleet Asset fleet name
asset exsid Asset external ID
start Start of the event
end End of the event
fuel Amount of fuel consumed during the event
pto_fuel Amount of fuel consumed during power take off
idle_fuel Amount of fuel used while idling during the event
fuel_units Fuel units (Gallons, Liters)
miles Miles travelled during the event (in meters)
mpg Miles per gallon during the event
engine_hours The number of engine hours that occurred during the event
pto_hours Power take off hours that occurred during the event
totals fuel_total Total fuel
totals idle_fuel_total Total idle fule
totals pto_fuel_total The total fuel consumed during power take off
totals odometer The total miles on odometer
totals odometer_units The total odometer units
totals engine_hours_total The total engine hours
totals pto_hours_total The total PTO hours
Example Request

http://development.zonarsystems.net/interface.php?action=showopen&operation=jbustrip&format=xml&start=1288942257&end=1289374257

Example Reply (logvers 1)

Example Reply XML

Example Reply (logvers 2)

Example Reply XML

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