Vorlage anfordern:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = reports / get_parkings_by_interval & params = {"obj_id": <obj_id>, "begin_dt": "<begin_dt>", "end_dt": "<end_dt > "}
Anforderungsparameter:
sid
eindeutige Sitzungskennung
obj_id
begin_dt
end_dt
Antwortvorlage:
{"count": <count>, "parkings": <parkings>}
Antwortparameter:
Parkplätze
Reihe von Parkplätzen
Anforderungsbeispiel:
http: //uvivion.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = reports / get_parkings_by_interval & params = {"obj_id": 10524, "begin_dt": "01.06.2016T10: 00", "end". " 2016T11: 10: 00 "}
Antwortbeispiel:
{"count": 2, "parkings": [{"finish_message_dt": "01.06.2016T10: 36: 06", "message_id_list": [697558,697559,697560,697561,697562,697563,697564,697565,697565, 697566,697566,697567,697568,697569,697570,697571,697572,697572,697573,697573,697574,697575,697575,697576,697576,697577,697578,697578,697579,697580,697580,697581,697582,697583, 697736,697737,697738a], "message_cnt": 37, "time_from_prev_end_to_cur_beg": 0, "duration_short_str": "36min., 3s." , Almaty, ,7558585858,,,,,,,,,,,,, Almaty, 050023, Kasachstan "," finish_message_coordinates_str ":" 43.19489, 76.893926 (7) "," obj_id ": 10524," finish_message_lat ": 43.194889,. "finish_message_lon": 76.8939264, "start_message_location": "289/1, улица Розыбакиева, Баганашыл, Almaty, Бостандыкский район, 050023, Kasachstanatatatat tr ":" 43.195043, 76.893267 (7) "," start_message_lat ": 43.1950432," start_message_lon ": 76.8932672," start_message_dt ":" 01.06.2016T10: 00: 03 "}, {" finish_message_dt ":" 01.06.2016T11: 06 : 08 "," message_id_list ": [697755,697756,697757,697758,697759,697761,697762,697763,697763,697765,697766,697767,697929]," message_cnt ": 14," time_from_prev_end_o__oaround_end_o_oar_in_cour_end. "duration_shach_str": "21min., 12s.", "duration_in_sec": 1272, "finish_message_lrate": "217, Gagarin Ave, 76ааранашыл, Almaty, Бостандыкский район, Almaty, 050060, (A) "", "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" Artikeldrucksatz ''. "". "". "". "" район, Almaty, 050060, Kasachstan "," start_message_coordinates_str ":" 43.214048, 76.89671 (8) "," start_message_lat ": 43.214048," start_message_lon ": 76.8967104," start_message_dt ":" 01.06.2016T10: 44: 56 "}]}