Modèle de demande:
http: // {hôte} / ts / json_api; jsessionid = <sid>? cmd = indique / get_stops_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:
{"nombre": <nombre>, "arrête": <arrête>}
Paramètres de réponse:
arrête
tableau d'arrêts
Exemple de demande:
http: //gps.agtrack.kz / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = rapports / get_stops_by_interval & params = {"obj_id": 10524, "begin_dt": "01.06.2016T00: 00", 00h, ". 2016T13: 00: 00 "}
Exemple de réponse:
{"nombre": 1, "arrête": [{"finish_message_dt": "01.06.2016T11: 10: 21", "message_id_list": [697938,697939], "message_cnt": 2, "time_from_prev_end_to_cur_bur": 0, " duration_short_str «obj_id»: 10524, «finish_message_»: 050023, Kazakhstan "," start_message_coordinates_str ":" 43.200099, 76.894336 (8) "," start_message_lat ": 43.2000992," start_message_lon ": 76.894336," start_message_dt ": 43.2000992," start_message_dt ":" 01.06.2016T11: 09: 58 "]