Anmodningsskabelon:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = rapporter / get_all_obj_summary_by_interval & params = {"begin_dt": "<begin_dt>", "end_dt": "<end_dt>", "lang": " <lang> "}
Anmodningsparametre:
side
unik sessionsidentifikator
start_dt
end_dt
Svarskabelon for anmodning:
{"count": <count>, "all_obj_summary": <all_obj_summary>}
Anmodningssvarparametre:
alle_objekt_oversigt
række af strenge
Beskrivelse af felter for anmodningssvar:
obj_id
obj_navn
kilometertal
kilometertal_for_rejse
Kilometertal (på ture), km
gennemsnitshastighed_i_kph
max_speed_in_kph
total_time_in_trips_str
total_time_in_parkings_str
motohours_str
dart_spent
dut_spent
brugt_efter_norm
brugt_efter_norm_efter_rejse
brugt_efter_beregning
dart_avg
dut_avg
dut_begin_level
dut_end_level
refuel_cnt
defuel_cnt
tømt for brændstof
sidste_meddelelse_dt
last_message_coordinates_str
last_message_sensors
last_message_move_state_tooltip
motohour_counter_val
kilometertæller_værdi
Eksempel på anmodning:
http:// morseti.barkuan8.com /ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=reports/get_all_obj_summary_by_interval¶ms={"begin_dt":"27.08.2001:5"2001:5"00:00:00":"2021"2001:2021"2001:000:00:00:00":"27.08.2021"2021:000:000:0000:2021"2001:0000:0001" "lang":"da"}
Et eksempel på et svar på en anmodning:
{"count": 8, "all_obj_summary": [{"tanked": 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": "epgr." " , "total_time_in_parkings": 0, "spent_by_calc": 0, "last_message_move_state_tooltip": "", "dart_avg": 0, "last_message_dt": "", "kilometertal": 0, "motohours": 0_counter "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}, {"tanked": 0, "dut_begin_level": 0, "total_time_in, "turs": 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_by_tal _0, int" : "0sec.", "Grp_t xt ":" "," total_time_in_parkings ": 0," spent_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," kilometertal ": 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}, {"tankede": 0, "dut_begin_level": 0_trips ": 0," last_message_sensors ":" "," obj_name ":" h, kh "," kilometertal_for_tur ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sek. "," Dut_end_level_bytrip_by_by_norm_by_by_norm_by_ ": 0," 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 ":" "": dart , "last_message_dt": "", "kilometertal": 0, "motorveje": 0, "motohour_counter_val": "", "obj_id": 26725, "spent_by_norm": 0, "avg_speed_in_kph": 0, "mileage_counter_val": " "," tømte brændstof ": 0," dut_spent ": 0," dart_spent ": 0 " dut_avg ": 0," last_mess age_coordinates_str ":" "," motohours_str ":" 0sek. "," defuel_cnt ": 0," is_total_row ": false}, {" tanket ": 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensage : "Indbygget spænding = 290,0 V, batterispænding = 733,0 V", "obj_name": "Honda A145", "mileage_by_trip": 0, "max_speed_in_kph"_time_in "parkings": 0,_total 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" i 48 sek. "," dart_avg ": 0," last_message_dt ":" 26/08/2021T16: 28: 27 "," kilometertal " : 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 ":" 0sek. "," Defuel_cnt ": 0," is_total_row ": false}, {" tanket ": 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 ":" 0sek. "," dut_end_level ": 0," spent_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_str " 0sek. "," Grp_txt ":" "," total_time_in_parkings ": 0," spent_by_calc ": 0," last_message_move_state:_toolt_state: " Sidste tilstand: Står for 3t., 15min., 11sek. "," Dart_avg ": 0," last_message_dt ":" 08/26/2021T16: 29:04 "," kilometertal ": 0," motortimer ": 0, " motohour_counter_val ":" 0 t. "," 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 ":" 0sek. "," defuel_cnt ": 0," is_total} "rækken" : 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensors ":" Indbygget spænding = 13426,0 V, Tændingssensor = Fra "," obj_name ":" Subaru 157 "," mileage_by_trip ": 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 ":" Objekt står for 51 sek. "," dart_avg ": 0," last_ "" 26/08/2021T16: 28: 24 "," kilometertal ": 0," motohours ": 0," motohour_counter_val ":" 0 t. "," Obj_id ": 10304," spent_by_norm ": 0," avg_speed_in_kph ": 0," mileage_counter_val ":" 0 km "," afladet ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg " : 0," last_message_coordinates_str ":" 49.97726, 82.586107 (16) "," motohours_str ":" 0sek. "," Defuel_cnt ": 0," is_total_row ": false}, {" tanket ": 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_parkings_time"_txt_total_time_parkings_time. ": 0," spent_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," kilometertal ": 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 ":" 0 sek. "," defuel_cnt ": 0," is_total_row ": false}, {" tanket ": 0," dut_begin_level ": 0," total_time_in_trips ": 0_," last_message :" "," obj_name ":" Gazelle "," mileage_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_ parkings_str ":" 0sek. "," 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": "Sidste tilstand: Står for 3 d., 11t., 36min., 42sek.", "dart_avg": 0, "sidste":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.924)_str (motohours)_str" ": "0sec.", "Defuel_cnt": 0, "is_total_row": false}]}