Minta templat:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = reports / get_stops_by_interval & params = {"obj_id": <obj_id>, "begin_dt" > "}
Minta parameter:
sid
pengecam sesi unik
obj_id
begin_dt
end_dt
Template respons:
{"count": <count>, "stops": <stops>}
Parameter tindak balas:
berhenti
pelbagai perhentian
Permintaan contoh:
http: //uvivion.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = reports / get_stops_by_interval & params = {"obj_id": 10524, "begin_dt": "01.06.2016T00: 00: 00", "end_dt": "01.06. 2016T13: 00: 00 "}
Contoh tindak balas:
{"count": 1, "stops": {{finish_essential_dt} , "finish_message_location": "281, Rozybakiev St, Баганашыл, Almaty, Бостандыкский район, Almaty, 050023, Kazakhstan", "finish_message_coordinates_str": "43.198202, 76.89431 (7)" , "finish_message_lat": 43.1982016, "start_message_id": 697938, "finish_message_id": 697939, "finish_message_lon": 76.8943104, "start_message_location": "Кожабекова, Kozhabekov St, Баганашыл, Almaty, Бостандыкский район, , "Start_message_lat": 43.2000992, "start_message_lon": 76.894336, "start_message_dt": "01.06.2016T11: 09: 58"}]}