Omba template:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = ripoti / get_stops_by_interval & params = {"obj_id": <obj_id>, "start_dt": "<start_dt>", "end_dt": "<mwisho_dt > "}
Piga vigezo:
sid
kitambulisho cha kikao cha pekee
obj_id
kuanza_dt
mwisho_dt
Kitabu cha majibu:
{"hesabu": <count>, "ataacha": <ataacha>}
Vigezo vya majibu:
ataacha
safu ya vituo
Mfano wa ombi:
cm: = ripoti / get_stops_by_interval & params = {"obj_id": 10524, "start_dt": "01.06.2016T00: 00: 00", "end_dt": "01.06. 2016T13: 00: 00 "}
Mfano wa majibu:
{"finish_message_dt": "01.06.2016T11: 10: 21", "message_id_list": [697938,697939], "message_cnt": 2, "time_from_prev_end_to_cur_beg": 0, " duration_short_str ":" 23s. "," muda_in_sec ": 23," kumaliza_message_location ":" 281, Rozybakiev St, Баганашыл, Almaty, Бостандыкский район, Almaty, 050023, Kazakhstan "," finish_message_coordinates_str ":" 43.198202, 76.89431 (7) , "tarehe_message_lat": 43.1982016, "start_message_id": 697938, "finish_message_id": 697939, "finish_message_lon": 76.8943104, "start_message_location": "Кожабекова, Kozhabekov St, Баганашыл, Almaty, Бостандыкский район, Almaty, 050023, Kazakhstan "," kuanza_message_coordinates_str ":" 43.200099, 76.894336 (8) "," start_message_lat ": 43.2000992," start_message_lon ": 76.894336," start_message_dt ":" 01.06.2016T11: 09: 58 "}]}