الگوی درخواستی:
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> "}
پارامترهای درخواستی:
طرف
شناسه جلسه منحصر به فرد
start_dt
end_dt
الگوی پاسخ درخواست:
{"count": <count>، "all_obj_summary": <all_obj_summary>}
پارامترهای پاسخ درخواست:
all_obj_summary
آرایه ای از رشته ها
شرح فیلدهای پاسخ درخواست:
obj_id
obj_name
مسافت پیموده شده
مسافت پیموده شده_با_سفر
مسافت پیموده شده (در سفرها)، کیلومتر
میانگین_سرعت_در کیلومتر در ساعت
حداکثر_سرعت_در کیلومتر در ساعت
total_time_in_trips_str
total_time_in_parkings_str
motohours_str
dart_spent
dut_spent
صرف_بر اساس_هنجار
صرف_براساس_هنجار_با_سفر
spent_by_calc
dart_avg
dut_avg
dut_begin_level
dut_end_level
refuel_cnt
defuel_cnt
سوخت زدایی شده
last_message_dt
last_message_coordinates_str
آخرین_پیام_حسگرها
last_message_move_state_tooltip
motohour_counter_val
mileage_counter_val
درخواست نمونه:
http:// uvivion.com /ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=reports/get_all_obj_summary_by_interval¶ms={"begin_dt":"27.08T":"27.08.00":27.08.201":27.08.201":27.08.201. "lang":"en"}
نمونه ای از پاسخ به یک درخواست:
{"count": 8، "all_obj_summary": [{"fueled": 0، "dut_begin_level": 0، "total_time_in_trips": 0، "last_message_sensors": "، "obj_name": "ADMINTELECOM"، "mileage_by_p" 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.0" " , "total_time_in_parkings": 0، "spent_by_calc": 0، "last_message_move_state_tooltip": ""، "dart_avg": 0، "last_message_dt": "، "مسافت پیموده شده": 0، "0، "motohours" "," obj_id ": 26377," 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}، {"fueled": 0، "dut_begin_level": 0، "total_time_in_trips" 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," spent_by__ntal ":" spent_by__ntal : "0sec."، "Grp_t xt ":" "," total_time_in_parkings ": 0," spent_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_spen": 0، "dut_avg": 0، "last_message_coordinates_str": "، "motohours_str": "0sec.", "defuel_cnt": 0، "is_total_row": false}، {"fueled": 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 ":" 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 ":" "": دارت , "last_message_dt": """"" مسافت پیموده شده": 0، "0، ساعت موتور": "motohour_counter_val": ""، "obj_id": 26725، "spent_by_norm": 0، "avg_speed_in_kph": 0، "mileage_counter_val": ""، defueled: 0، dut_spent ": 0," dart0,sp " 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 ولت، ولتاژ باتری = 733.0 ولت"، "obj_name": "Honda A145"، "mileage_by_trip": 0، "max_k":_speed: 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":_by "last_message_tooltip_str" برای 48 ثانیه. "," dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 28: 27 "," مسافت پیموده شده " : 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، "d" : 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 ":" 0sec. "," 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_moolt" " آخرین حالت: برای 3 ساعت، 15 دقیقه، 11 ثانیه ایستاده است. "," Dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 29:04 "," مسافت پیموده شده ": 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"، "defueled": 0، "dut_spent": 0، dart_spent": 0، "dut_avg": 0، "last_message_coordinates_str": "43.360428, 77.016322 (16)"، "motohours_str ":" 0sec. : 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensors ":" ولتاژ داخلی = 13426.0 ولت، سنسور جرقه = خاموش "," obj_name ":" سوبارو 157 "," مسافت_به_تریپ ": 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 ":" 0sec. "," grp_txt ":" "," total_time_in_parkings ": 0," spent_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," 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 ":" 49.97726, 82.586107 (16) "," 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 ":" 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": "gruel_cnt": 0، "gruel_cnt": "total_time_in_parkings_str." ": 0," spent_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," lasts_mes :" "," obj_name ":" Gazelle "," 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_ grin_trisepxt. : """، "total_time_in_parkings": 0، "spent_by_calc": 0، "last_message_move_state_tooltip": "آخرین حالت: برای 3 روز، 11 ساعت، 36 دقیقه، 42 ثانیه، "dart_avg": "dart_avg": "08/26/2021T16: 28: 54"، "میلیاژ": 0، "motohours": 0، "motohour_counter_val": "0 h."، "Obj_id": 10303، "spent_by_norm": 0، "avg_speed" 0، "mileage_counter_val": "0 km"، "defueled": 0، "dut_spen": 0، "dart_spen": 0، "dut_avg": 0، "Last_message_coordinates_str": "43.232315, 76.922 str. ": "0sec."، "Defuel_cnt": 0، "is_total_row": false}]}