Yêu cầu Mẫu:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = report / get_all_obj_summary_by_interval & params = {"begin_dt": "<begin_dt>", "end_dt": "<end_dt>", "lang": "<lang>"}
Yêu cầu thông số:
sid
mã định danh phiên duy nhất
begin_dt
end_dt
Yêu cầu mẫu phản hồi:
{"count": <count>, "all_obj_summary": <all_obj_summary>}
Yêu cầu các thông số phản hồi:
all_obj_summary
mảng chuỗi
Mô tả các trường phản hồi yêu cầu:
obj_id
obj_name
số dặm
mileage_by_trip
Dặm (trên chuyến đi), km
avg_speed_in_kph
max_speed_in_kph
total_time_in_trips_str
total_time_in_parkings_str
motohours_str
dart_spent
dut_spent
used_by_norm
used_by_norm_by_trip
used_by_calc
dart_avg
dut_avg
dut_begin_level
dut_end_level
refuel_cnt
defuel_cnt
khử nhiên liệu
last_message_dt
last_message_coosystem_str
last_message_sensors
last_message_move_state_tooltip
motohour_counter_val
mileage_counter_val
Yêu cầu mẫu:
http: // uvivion.com /ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=reports/get_all_obj_summary_by_interval¶ms={"begin_dt":"2327.08.2021T00:00:00":"end_dt:521 " , "lang": "en"}
Một ví dụ về phản hồi cho một yêu cầu:
{"count": 8, "all_obj_summary": [{"refueled": 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, "used_by_norm_by_trip": 0, "refuel_cnt": 0, "total_time_in_trips_str": ". "," total_time_in_parkings ": 0," used_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," mileage ": 0," motohours ": 0," motohour "_counter "," obj_id ": 26377," used_by_norm ": 0," avg_speed_in_kph ": 0," mileage_counter_val ":" "," defueled ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg ": 0 , "last_message_coosystem_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 ":" asuto "," mileage_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," dut_end_level ": 0, "pend_by_trips": 0, "used_by_trips" : "0sec.", "Grp_t xt": "", "total_time_in_parkings": 0, "used_by_calc": 0, "last_message_move_state_tooltip": "", "dart_avg": 0, "last_message_dt": "", "mileage": 0, "motohours": 0, "motohour_counter_val": "", "obj_id": 26336, "used_by_norm": 0, "avg_speed_in_kph" : 0, "mileage_counter_val": "", "defueled": 0, "dut_spent": 0, "dart_spent": 0, "dut_avg": 0, "last_message_coosystem_str": "", "motohours_str": "0 giây", "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 giây. "," Dut_end_level_bytrip_by_by_norm_by_by_norm_by_ ": 0," refuel_cnt ": 0," total_time_in_trips_str ":" 0 giây. "," Grp_txt ":" "," total_time_in_parkings ": 0," used_by_calc ": 0," last_message_move_state_tooltip ":" "": dart, "last_message_dt": "", "mileage": 0, "motohours": 0, "motohour_counter_val": "", "obj_id": 26725, "used_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_coosystem_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: "Điện áp trên bo mạch = 290,0 V, Điện áp pin = 733,0 V", "obj_name": "Honda A145", "mileage_by_trip": 0, "max_speed_in_kph": 0, "total_time_in_parkings": " 0sec. "," Dut_end_level ": 0," used_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_in_trips_str ":" 0sec. "," Grp_txt ":" "," total_time_in_parkings ": 0," used_by: 0 "last_message_tooltip_str" trong 48 giây "," dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 28: 27 "," mileage " : 0, "motohours": 0, "motohour_counter_val": "0 giờ. "," obj_id ": 10302," used_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_coosystem_coosystem": "51.99572, 70.933643 (10)", "motohours_str": "0 giây. "," 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 giây. "," dut_end_level ": 0," used_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_str "0sec.", "Grp_txt": "", "total_time_in_parkings": 0, "used_by_calc": 0, "last_message_stage_tooltip_message_stage_tooltip" "Trạng thái cuối cùng: Chờ trong 3 giờ., 15 phút, 11 giây", "Dart_avg": 0, "last_message_dt": "08/26 / 2021T16: 29:04", "mileage": 0, "motohours": 0, "motohour_counter_val": "0 giờ", "obj_id": 10305, "used_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_coctures_str ":" 43.360428, 77.016322 (16) "," motohours_str ":" 0sec. "," defuel_cnt ": 0," is_total_row ": false}, {" đã tiếp nhiên liệu " : 0, "dut_begin_level": 0, "total_time_in_trips": 0, "last_message_sensors": "Điện áp trên bo mạch = 13426,0 V, Cảm biến đánh lửa = Tắt", "obj_name": "Subaru 157", "mileage_by_trip": 0, " max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sec. "," Dut_end_level ": 0," used_by_norm_, "refuel_cnt": 0, "total_time_in _trips_ str ":" 0 giây. "," grp_txt ":" "," total_time_in_parkings ": 0," used_by_calc ": 0," last_message_move_state_tooltip ":" Đối tượng là viết tắt của 51 giây. "," dart_avg ": 0," last_ "" 08/26/2021T16: 28: 24 "," mileage ": 0," motohours ": 0," motohour_counter_val ":" 0 h. "," Obj_id ": 10304, "pend_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_coosystem_str": "49.97726, 82.586107 (16)", "motohours_str": "0 giây. "," 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, "pend_by_norm_by_trip": 0, "refuel_cnt": 0, "total_time_ser_serxt". ": 0," used_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," mileage ": 0," motohours ": 0," motohour_counter_val ":" "," obj_id ": 26379," used_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_coosystem_str ":" "," motohours_str ":" 0sec. "," defuel_cnt ": 0," is_total_row ": false}, {" refueled ": 0," dut_begin_level ": 0," total_time_inessage_trips ": 0," last_message_sensors " : "", "obj_name": "Gazelle", "mileage_by_trip": 0, "max_speed_in_kph": 0, "total_time_in_ đậu xe_str ":" 0 giây. "," dut_end_level ": 0, "pend_by_norm_by_trip": 0, "refuel_cnt": 0, "total_time_ grin_trisepxt. : "", "total_time_in_parkings": 0, "pend_by_calc ": 0," last_message_move_state_tooltip ":" Trạng thái cuối: Chờ trong 3 ngày, 11 giờ, 36 phút, 42 giây "," dart_avg ": 0," last_message_dt ": "08/26 / 2021T16: 28: 54", "mileage": 0, "motohours": 0, "motohour_counter_val": "0 h.", "Obj_id": 10303, "used_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_coosystem_str": "43.232315, 76.922308 (14)", "motohours_str ":" 0 giây "," Defuel_cnt ": 0," is_total_row ": false}]}