Plantilla de solicitud:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = reports / get_obj_summary_by_interval & params = {"obj_id": <obj_id>, "begin_dt": "<begin_dt>", "end_dt": "<end_dt>", "lang": "<lang>"}
Solicitar parámetros:
Sid
identificador de sesión único
obj_id
begin_dt
end_dt
Solicitar plantilla de respuesta:
{"count": <count>, "obj_summary": <obj_summary>}
Solicitar parámetros de respuesta:
obj_summary
matriz de cadenas
Descripción de los campos de respuesta a la solicitud:
obj_name
kilometraje
kilometraje_por_viaje
Kilometraje (en viajes), 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
gastado_por_norm
gastado_por_norm_por_trip
gastado_por_calc
dart_avg
dut_avg
dut_begin_level
dut_end_level
refuel_cnt
defuel_cnt
despojado de combustible
last_message_dt
last_message_coordinates_str
last_message_sensors
last_message_move_state_tooltip
motohour_counter_val
kilometraje_contador_val
Solicitud de ejemplo:
http: //uvivion.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = reports / get_obj_summary_by_interval & params = {"obj_id": 10305, "begin_dt": "27.08.2021T00: 00: 00d 2021T23: 59: 59", "lang": "en"}
Un ejemplo de respuesta a una solicitud:
{"count": 1, "obj_summary": [{"reabastecido": 0, "dut_begin_level": 0, "total_time_in_trips": 0, "last_message_sensors": "", "obj_name": "Mercedes-Benz 140", " kilometraje_por_trip ": 0," max_speed_in_kph ": 0," total_time_in_parkings_str ":" 0seg. "," dut_end_level ": 0," gastado_by_norm_by_trip ": 0," reabastecimiento_cnt ": 0," total_time_ grin_parkings_str ". 0, "gastado_por_calc": 0, "last_message_move_state_tooltip": "Último estado: corresponde a 2h., 46min., 29sec.", "Dart_avg": 0, "last_message_dt": "26/08 / 2021T16: 00: 04", "kilometraje": 0, "motohours": 0, "motohour_counter_val": "0 h. "," Obj_id ": 10305," gastado_por_norm ": 0," avg_speed_in_kph ": 0," kilometraje_contador_val ":" 0 km "," descargado ": 0," dut_spent ": 0," dart_spent ": 0," dut_avg " : 0, "last_message_coordinates_str": "43.360488, 77.016415 (16)", "motohours_str": "0 seg.", "Defuel_cnt": 0, "is_total_row": falso}]}