Versoek sjabloon:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = reports / get_obj_summary_by_interval & params = {"obj_id": <obj_id>, "begin_dt": "<begin_dt>", "end_dt": "<end_dt>", "lang": "<lang>"}
Versoek parameters:
sid
unieke sessie -identifiseerder
obj_id
begin_dt
end_dt
Versoek antwoordsjabloon:
{"count": <count>, "obj_summary": <obj_summary>}
Versoek reaksie parameters:
obj_summary
reeks snare
Beskrywing van versoekantwoordvelde:
obj_name
kilometers
kilometers_deur_reis
Kilometerstand (op reise), km
avg_speed_in_kph
max_speed_in_kph
total_time_in_trips_str
total_time_in_parkings_str
motohours_str
pyltjie_bestee
dut_bestee
bestee_by_norm
bestee_by_norm_by_reis
bestee_by_kalc
dart_avg
dut_avg
dut_begin_level
dut_end_level
hervul_cnt
defuel_cnt
afgedank
laaste_boodskap_dt
laaste_boodskap_koördinate_str
laaste_boodskap_sensors
last_message_move_state_tooltip
motohour_counter_val
kilometers_teller_waarde
Voorbeeld versoek:
http: //morseti.barkuan8.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = reports / get_obj_summary_by_interval & params = {"obj_id": 10305, "begin_dt": "27.08.2021T00: 00: 00d 2021T23: 59: 59", "lang": "en"}
'N Voorbeeld van 'n antwoord op 'n versoek:
{"count": 1, "obj_summary": [{"refueled": 0, "dut_begin_level": 0, "total_time_in_trips": 0, "last_message_sensors": "", "obj_name": "Mercedes-Benz 140", " kilometers_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," dut_end_level ": 0," spent_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_ grin_trisepxtings: " 0, "spent_by_calc": 0, "last_message_move_state_tooltip": "Laaste toestand: staan 2 uur, 46min., 29sek.", "Dart_avg": 0, "last_message_dt": "08/26/2021T16: 00: 04", "kilometers": 0, "motohours": 0, "motohour_counter_val": "0 uur. "," Obj_id ": 10305," spent_by_norm ": 0," avg_speed_in_kph ": 0," mileage_counter_val ":" 0 km "," defueled ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg " : 0, "last_message_coordinates_str": "43.360488, 77.016415 (16)", "motohours_str": "0sec.", "Defuel_cnt": 0, "is_total_row": false}]}}