Versoek sjabloon:
http: // {gasheer} / ts / json_api; jsessionid = <sid>? cmd = verslae / get_all_obj_summary_by_interval & params = {"begin_dt": "<begin_dt>", "end_dt": "<end_dt>", "lang": " <lang> "}
Versoek parameters:
sid
unieke sessie-identifiseerder
begin_dt
end_dt
Versoek reaksie sjabloon:
{"count": <count>, "all_obj_summary": <all_obj_summary>}
Versoek reaksie parameters:
alle_obj_opsomming
reeks snare
Beskrywing van versoekreaksievelde:
obj_id
obj_naam
kilometers
kilometers_vir_reis
Kilometers (op ritte), km
gem_spoed_in_kph
maksimum_spoed_in_kph
totale_tyd_in_reise_str
totale_tyd_in_parkerings_str
motohours_str
pyl_bestee
dut_spend
bestee_volgens_norm
bestee_volgens_norm_vir_reis
bestee_per_berekening
pyl_gem
dut_gem
dut_begin_level
dut_end_level
brandstof_cnt
defuel_cnt
afgeblaas
laaste_boodskap_dt
laaste_boodskap_koördinate_str
laaste_boodskap_sensors
last_message_move_state_tooltip
motohour_counter_val
kilometers_teller_val
Voorbeeld versoek:
http:// justrac.com /ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=reports/get_all_obj_summary_by_interval¶ms={"begin_dt":"27.08.2008.2001:02":02":02":000:02":3":"2021"2021":02":02":02":02":02":02":02":2021":02":2021":02":2021":2021":02":2021":02":2021":2021":2021":02":02":02":02":02":02":02":02":02":02":02":02":02":02" ,"lang":"af"}
'n Voorbeeld van 'n antwoord op 'n versoek:
{"count": 8, "all_obj_summary": [{"refueled": 0, "dut_begin_level": 0, "total_time_in_trips": 0, "last_message_sensors": "", "obj_name": "ADMINTELECOM", "mileage_per_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_in_trips_str": "epgr.:" " , "total_time_in_parkings": 0, "spent_by_calc": 0, "last_message_move_state_tooltip": "", "dart_avg": 0, "last_message_dt": "", "kilometers": 0, "motohours": "0_counter"erohours "," obj_id ": 26377," spent_by_norm ": 0," avg_speed_in_kph ": 0," mileage_counter_val ":" "," ontbrand ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg ": 0 , "last_message_coordinates_str": "", "motohours_str": "0sec.", "defuel_cnt": 0, "is_total_row": false}, {"gevul": 0, "dut_begin_level": 0, "totale_tyd_in_reise": 0 last_message_sensors ":" "," obj_name ":" asuto "," mileage_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," dut_end_level ": 0," spend_by_norm_total"_by_nt "trips" : "0sec.", "Grp_t xt ":" "," total_time_in_parkings ": 0," spent_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," kilometers ": 0," motohours ": 0, "motohour_counter_val": "", "obj_id": 26336, "spent_by_norm": 0, "avg_speed_in_kph" : 0, "mileage_counter_val": "", "defueled": 0, "dut_spent": 0, "dart_spent": 0, "dut_avg": 0, "last_message_coordinates_str": "", "motohours_str": "0sec.", "defuel_cnt": 0, "is_total_row": false}, {"refueled": 0, "dut_begin_level": 0_trips ": 0," last_message_sensors ":" "," obj_name ":" h, kh "," kilometers_vir_rit ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," Dut_end_level_bytrip_by_by_norm_by_by_norm_by_ ": 0," refuel_cnt ": 0," total_time_in_trips_str ":" 0sec. "," Grp_txt ":" "," total_time_in_parkings ": 0," spent_by_calc ": 0," last_message_move_state_tooltip ":" "": pyltjie , "last_message_dt": "", "kilometers": 0, "motors": 0, "motohour_counter_val": "", "obj_id": 26725, "spent_by_norm": 0, "avg_speed_in_kph": 0, "mileage_counter_val": " "," ontbrand ": 0," dut_spent ": 0," dart_spent ": 0 " dut_avg ": 0," last_mess age_coordinates_str ":" "," motohours_str ":" 0 sek. "," defuel_cnt ": 0," is_total_row ": false}, {" aangevul ": 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensage : "Boordspanning = 290.0 V, Batteryspanning = 733.0 V", "obj_name": "Honda A145", "mileage_by_trip": 0, "max_speed_in_kph"_str_in "totalparkings": 0, " 0sec.", "Dut_end_level" : 0, "spent_by_norm_by_trip": 0, "refuel_cnt": 0, "total_time_in_trips_str": "0sec.", "Grp_txt": "", "total_time_in_parkings": 0_, "cpent"_by "last_message_tooltip_str" vir 48 sek. "," dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 28: 27 "," kilometers " : 0," motohours ": 0," motohour_counter_val ":" 0 h. "," obj_id " : 10302, "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_messr_coordinates_coordinates ":" 51.99572, 70.933643 (10) "," motohours_str ":" 0sec. "," Defuel_cnt ": 0," is_total_row ": false}, {" aangevul ": 0," dut_begin_level ": 0," total_time_in_trips ": 0, "last_message_sensors": "", "obj_name": "Mersede s-Benz 140 "," kilometers_vir_rit ": 0," max_speed_in_kph ": 0," totale_tyd_in_parkerings_str ":" 0 sek. "," dut_end_level ": 0," spent_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_str " 0sec. "," Grp_txt ":" "," total_time_in_parkings ": 0," spent_by_calc ": 0," last_message_move_state:_toolt_state: " Laaste toestand: Staan vir 3h., 15min., 11sec. "," Dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 29:04 "," kilometers ": 0," motohours ": 0, " motohour_counter_val ":" 0 h. "," obj_id ": 10305," spent_by_norm ": 0," avg_speed_in_kph " : 0, "mileage_counter_val": "0 km", "afgedoen": 0, "dut_spent": 0, " dart_spent": 0, "dut_avg": 0, "last_message_coordinates_str": "43.360428, 77.016322 (16)", " motohours_str ":" 0 sek. "," defuel_cnt ": 0," is" refueletal} ", " refueletal}, " : 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensors ":" Aanboordspanning = 13426.0 V, Ontstekingsensor = Af "," obj_name ":" Subaru 157 "," kilometers_vir_rit ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," Dut_end_level ": 0," spent_by_norm_ , "refuel_cnt": 0, "total_time_in _trips_ str ":" 0sek. "," grp_txt ":" "," total_time_in_parkings ": 0," spent_by_calc ": 0," last_message_move_state_tooltip ":" Voorwerp staan vir 51 sek. "," dart_avg ": 0," last_ "" 08/26/2021T16: 28: 24 "," kilometers ": 0," motohours ": 0," motohour_counter_val ":" 0 h. "," Obj_id ": 10304," spent_by_norm ": 0," avg_speed_in_kph ": 0," mileage_counter_val ":" 0 km "," ontbrand ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg " : 0," last_message_coordinates_str ":" 49.97726, 82.586107 (16) "," motohours_str ":" 0 sek. "," Defuel_cnt ": 0," is_total_row ": false}, {" aangevul ": 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensors ":" "," obj_name ":" Aygyr " , " mileage_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_tripsser"_total_time_tripsser: "grp_time_tripsser:" ": 0," spent_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," kilometers ": 0," motohours ": 0, "motohour_counter_val": "", " obj_id": 26379, "spent_by_norm": 0, "avg_speed_in_k ph ": 0," mileage_counter_val ":" "," ontbrand ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg ": 0," last_message_coordinates_str ":" "," motohours_str ":" 0 sek. "," defuel_cnt ": 0," is_total_row ": false}, {" aangevul ": 0," dut_begin_level ": 0," totale_tyd_in_reise ": 0_," laaste_boodskap :" "," obj_name ":" Gazelle "," kilometers_vir_reis ": 0," max_speed_in_kph ": 0," totale_tyd_in_ parkings_str ":" 0 sek. "," dut_end_level ": 0," spend_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_ grin_trisepxt. : "", "total_time_in_parkings": 0, "spent_by_calc": 0, "last_message_move_state_tooltip": "Laaste toestand: Staan vir 3 d., 11h., 36min., 42sec.", "dart_avg": 0, "laaste":messagedt "08/26/2021T16: 28: 54", "mileage": 0, "motohours": 0, "motohour_counter_val": "0 h.", "Obj_id": 10303, "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.232315, 76.9242308 (motohours)_str" ": "0sec.", "Defuel_cnt": 0, "is_total_row": vals}]}