請求模板:
http://{host}/ts/json_api; jsessionid = <sid>? cmd = 報告/get_all_obj_summary_by_interval & params = {“begin_dt”:“<begin_dt>”、“end_dt”:“<end_dt>”、“lang”:“<lang>”}
請求參數:
席位
唯一的會話標識符
開始_dt
end_dt
請求響應模板:
{"count": <count>, "all_obj_summary": <all_obj_summary>}
請求響應參數:
all_obj_summary
字符串數組
請求響應字段說明:
obj_id
對象名
里程
mileage_by_trip
里程(旅行),公里
avg_speed_in_kph
max_speed_in_kph
total_time_in_trips_str
total_time_in_parkings_str
motohours_str
dart_spent
dut_spent
花費標準
花費_by_norm_by_trip
花費計算
dart_avg
dut_avg
dut_begin_level
dut_end_level
refuel_cnt
defuel_cnt
放油
last_message_dt
last_message_coordinates_str
last_message_sensors
last_message_move_state_tooltip
motohour_counter_val
里程計數器值
示例請求:
http:// justrac.com /ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=reports/get_all_obj_summary_by_interval¶ms={"begin_dt":"27.08.2021T00:00:00","end_dt":"27.08.2021T23:59:9" ,"lang":"en"}
響應請求的示例:
{“計數”:8,“all_obj_summary”:[{“加油”:0,“dut_begin_level”:0,“total_time_in_trips”:0,“last_message_sensors”:“”,“obj_name”:“ADMINTELECOM”,“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_in_trips_str”:“gr:”0sep。 ", "total_time_in_parkings": 0, "spent_by_calc": 0, "last_message_move_state_tooltip": "", "dart_avg": 0, "last_message_dt": "", "mileage": 0, "motohours": 0, "motohour"_counter ","obj_id": 26377,"spend_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},{“加油”:0,“dut_begin_level”:0,“total_time_in_trips”: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," sent_by_norm_by_by_nt ": 0, "total_time_in_trips_str" :“0sec.”,“Grp_t xt”:“”,“total_time_in_parkings”:0,“spend_by_calc”:0,“last_message_move_state_tooltip”:“”,“dart_avg”:0,“last_message_dt”:“”,“里程”: 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","mileage_by_trip": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0 秒。 "," Dut_end_level_bytrip_by_by_norm_by_by_norm_by_ ": 0," refuel_cnt ": 0," total_time_in_trips_str ":" 0 秒。 "," Grp_txt ":" "," total_time_in_parkings ": 0,"spend_by_calc ": 0," last_message_move_state_tooltip ":" "": dart , "last_message_dt": "", "mileage": 0, "motohours": 0, “motohour_counter_val”:“”,“obj_id”:26725,“spent_by_norm”:0,“avg_speed_in_kph”:0,“mileage_counter_val”:“”,“defueled”:0,“dut_spent”:0,“dart_spent”:0, " dut_avg ": 0," last_mess age_coordinates_str ":" "," motohours_str ":" 0sec."," defuel_cnt ": 0," is_total_row ": false}, {" refueled ": 0," dut_begin_level ": 0," total_time_in_trips“:0,”last_message_sensage:“板載電壓= 290.0 V,電池電壓= 733.0 V”,“obj_name”:“Honda A145”,“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_in_trips_str": "0sec.", "Grp_txt": "", "total_time_in_parkings": 0, "spent_by_calc": 0, “last_message_tooltip_str”持續 48 秒。“,dart_avg”:0,“last_message_dt”:“08/26/2021T16:28:27”,“里程” : 0," motohours ": 0," motohour_counter_val ":" 0 小時。 ”,“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},{"refueled":0,"dut_begin_level":0,"total_time_in_trips":0,"last_message_sensors":"","obj_name":"Mersede s-Benz 140 ","mileage_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0 秒。 “,”dut_end_level “:0,”spend_by_norm_by_trip “:0,”refuel_cnt “:0,”total_time_str “0sec.”,”Grp_txt “:”,“total_time_in_parkings”:0,“spend_by_calc”:0,“last_message_move_state_tooltip”: " Last state: 代表 3h., 15min., 11sec. "," Dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 29:04 "," mileage ": 0," motohours ": 0, “ motohour_counter_val”:“0 h.”,“obj_id”:10305,“spend_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.360428,77.016322(16)”,“motohours_str”:“0sec.”,“defuel_cnt”:0,“is_total_row”:false},{“加油” :0,“dut_begin_level”:0,“total_time_in_trips”:0,“last_message_sensors”:“板載電壓= 13426.0 V,點火傳感器=關閉”,“obj_name”:“斯巴魯157”,“mileage_by_trip”:0, max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," Dut_end_level ": 0,"spend_by_norm_ , "refuel_cnt": 0, "total_time_in _trips_str ":" 0 秒。 ","grp_txt":"","total_time_in_parkings":0,"spend_by_calc":0,"last_message_move_state_tooltip":"對象代表 51 秒。 "," dart_avg ": 0," last_ "" 08/26/2021T16: 28: 24 "," 里程 ": 0," motohours ": 0," motohour_counter_val ":" 0 小時。 ”,“Obj_id”:10304,“spend_by_norm”:0,“avg_speed_in_kph”:0,“mileage_counter_val”:“0 公里”,“defueled”:0,“dut_spent”:0,“dart_spent”:0,“dut_avg” : 0," last_message_coordinates_str ":" 49.97726, 82.586107 (16) "," motohours_str ":" 0 秒。 ","Defuel_cnt":0,"is_total_row":false},{"refueled":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_ser_trips_trips。”grp_txt“:”“”total_time_in_parkings “:0”,“spend_by_calc”:0,“last_message_move_state_tooltip”:“”,“dart_avg”:0,“last_message_dt”:“”,“里程”:0,“motohours”:0,“motohour_counter_val”:“”,“ obj_id”:26379,“spent_by_norm”:0,“avg_speed_in_k ph”: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," total_time_in_trips ": 0," last_message_sensors " :"","obj_name":"Gazelle","mileage_by_trip":0,"max_speed_in_kph":0,"total_time_in_ parks_str ":" 0 秒。 “,”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”:“最後狀態:代表3天,11小時,36分鐘,42秒。”,“dart_avg”:0,“last_message_dt”: “08/26/2021T16:28:54”,“里程”: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.922308(14)”,“motohours_str” ": "0sec.", "Defuel_cnt": 0, "is_total_row": false}]}