Talep Şablonu:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = raporlar / get_all_obj_summary_by_interval & params = {"begin_dt": "<begin_dt>", "end_dt": "<end_dt>", "lang": " <lang> "}
İstek parametreleri:
yan taraf
benzersiz oturum tanımlayıcısı
start_dt
end_dt
Yanıt şablonu isteyin:
{"count": <count>, "all_obj_summary": <all_obj_summary>}
Yanıt parametreleri isteyin:
all_obj_summary
dizi dizisi
İstek yanıt alanlarının açıklaması:
obj_id
obj_name
kilometre
Mileage_by_trip
Kilometre (seyahatlerde), 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
harcanan_by_norm
harcanan_by_norm_by_trip
harcanan_by_calc
dart_avg
dut_avg
dut_begin_level
dut_end_level
yakıt ikmali_cnt
defuel_cnt
yakıtı boşaltılmış
last_message_dt
last_message_coordinates_str
last_message_sensors
last_message_move_state_tooltip
motohour_counter_val
mileage_counter_val
Örnek istek:
http:// gps.agtrack.kz /ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=reports/get_all_obj_summary_by_interval¶ms={"begin_dt":"27.08.2021T00:0021","end_dt":"27.08. ,"lang":"tr"}
Bir isteğe yanıt örneği:
{"count": 8, "all_obj_summary": [{"refueled": 0, "dut_begin_level": 0, "total_time_in_trips": 0, "last_message_sensors": "", "obj_name": "YÖNLENDİRİCİ", "yol_yoluyla kilometre": 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:" 0sn. " , "total_time_in_parkings": 0, "spent_by_calc": 0, "last_message_move_state_tooltip": "", "dart_avg": 0, "last_message_dt": "", "kilometre": 0, "motohours": 0, "motohour "_counter "," obj_id ": 26377," harcanan_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": "0sn.", "defuel_cnt": 0, "is_total_row": false}, {"refuled": 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," harcanan_by_norm_by_by_nt " :" : "0sn.", "Grp_t xt ":" "," total_time_in_parkings ": 0," harcanan_kalk ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," kilometre ": 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": "0sn.", "defuel_cnt": 0, "is_total_row": false}, {"yakıt doldurdu": 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 ":" 0sn. "," Dut_end_level_bytrip_by_by_norm_by_by_norm_by_ ": 0," refuel_cnt ": 0," total_time_in_trips_str ":" 0sn. "," Grp_txt ":" "," total_time_in_parkings ": 0," harcanan_by_calc ": 0," last_message_move_state_tooltip ":" "": dart , "last_message_dt": "", "kilometre": 0, "motosaat": 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 : "Araç voltajı = 290,0 V, Akü voltajı = 733,0 V", "obj_name": "Honda A145", "mileage_by_trip": 0, "max_speed_in_kph": 0, "total_time_in_parkings_str": " 0sn.", "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" 48sn için "last_message_tooltip_str" "," dart_avg ": 0," last_message_dt ":" 26.08.2021T16: 28: 27 "," kilometre " : 0," motohours ": 0," motohour_counter_val ":" 0 sa. "," 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_koordinatlar_koordinatları ":" 51.99572, 70.933643 (10) "," motohours_str ":" 0sn. "," Defuel_cnt ": 0," is_total_row ": false}, {" yakıt ikmali yaptı ": 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 ":" 0sn. "," dut_end_level ": 0," harcanan_by_norm_by_trip ": 0," refuel_cnt ": 0," total_time_str " 0sn. "," Grp_txt ":" "," total_time_in_parkings ": 0," harcanan_by_calc ": 0," last_message_move_state " Son durum: 3sa., 15dk., 11sn. "," Dart_avg ": 0," last_message_dt ":" 26.08.2021T16: 29:04 "," kilometre ": 0," motosaat ": 0, " motohour_counter_val ":" 0 h. "," obj_id ": 10305,"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_coordinates_str": "43.360428, 77.016322 (16)", " motohours_str ":" 0sec. "," defuel_cnt ": 0," is_total_row ": false}, {" yakıt ikmali yaptı " : 0," dut_begin_level ": 0," total_time_in_trips ": 0," last_message_sensors ":" Araç voltajı = 13426.0 V, Ateşleme sensörü = Kapalı "," obj_name ":" Subaru 157 ","mileage_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0sn. "," Dut_end_level ": 0," harcanan_by_norm_ , "refuel_cnt": 0, "total_time_in _trips_ str ":" 0sn. "," grp_txt ":" "," total_time_in_parkings ": 0," harcanan_by_calc ": 0," last_message_move_state_tooltip ":" Nesne 51sn. "," dart_avg ": 0," son_ "" 26/08/2021T16: 28: 24 "," kilometre ": 0," motohours ": 0," motohour_counter_val ":" 0 s. "," Obj_id ": 10304," harcanan_by_norm ": 0," avg_speed_in_kph ": 0," mileage_counter_val ":" 0 km "," yakıtsız ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg " : 0," last_message_coordinates_str ":" 49.97726, 82.586107 (16) "," motohours_str ":" 0sn. "," Defuel_cnt ": 0," is_total_row ": false}, {" yakıt ikmali yaptı ": 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_tx"t"t" ": 0," harcanan_by_calc ": 0," last_message_move_state_tooltip ":" "," dart_avg ": 0," last_message_dt ":" "," kilometre ": 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}, {" yakıt ikmali yaptı ": 0," dut_begin_level ": 0," total_time_in_trips ": 0,"ensor "last_message_s :" "," obj_name ":" Gazelle "," mileage_by_trip ": 0," max_speed_in_kph ": 0," total_time_in_ parkings_str ":" 0sn. "," dut_end_level ": 0," harcanan_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": "Son durum: 3 gün, 11sa., 36dk., 42sn.", "dart_avg": 0, "last_message_dt": "26/08/2021T16: 28: 54", "kilometre": 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 ": "0sn.", "Defuel_cnt": 0, "is_total_row": yanlış}]}