Modèle de demande:
http: // {hôte} / ts / json_api; jsessionid = <sid>? cmd = signale / get_parkings_by_interval & params = {"obj_id": <obj_id>, "begin_dt": "<begin_dt>", "end_dt": "<end_dt" > "}
Paramètres de demande:
sid
identifiant de session unique
obj_id
begin_dt
end_dt
Modèle de réponse:
{"count": <count>, "parkings": <parkings>}
Paramètres de réponse:
parkings
tableau de parkings
Exemple de demande:
http: //justrac.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589595CA984D? cmd = rapports / get_parkings_by_interval & params = {"obj_id": 10524, "begin_dt": "01.06.2016T10: 00", résultat final ". 2016T11: 10: 00 "}
Exemple de réponse:
{"count": 2, "parkings": [{"finish_message_dt": "01.06.2016T10: 36: 06", "message_id_list": [697558,697559,697561,697562,697563,697564,697565,697565, 697566,697566,697567,697569,697570,697571,697572,697572,697573,697573,697567,6975676959 697736,697737,697738], "message_cnt": 37, "time_from_porn_pend_to_cur_beg": 0, "duration_short_str": "36min.", Article de durée de la semaine , Almaty, en savoir plus sur ce sujet "finish_message_lon": 76.8939264, "start_message_location": "289/1, улица Розыбакиева, Альгай, остандыкский район, 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.2016T10:} : 08 "," message_id_list ": [697755,697756,697757,697758,697759,697760,697761,69776,6,67676,6977,697766,697767,697929]," message_cnt ": 14," time_from_p_end_endr "durée_short_str": "21 min., 12 s.", (1) район, Almaty, 050060, Kazakhstan "," 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 "}]}