請求模板:
HTTP:// {主機} / TS / json_api; JSESSIONID = <SID> CMD =報告/ get_stops_by_interval&PARAMS = {“obj_id”:<?obj_id>,“begin_dt”:“<begin_dt>”,“END_DT”:“<END_DT >“}
請求參數:
SID
唯一會話標識符
obj_id
begin_dt
END_DT
響應模板:
{“計數”:<計數>,“停止”:<停止>}
響應參數:
停止
一系列的停止
請求示例:
HTTP://%主機%/ TS / json_api; JSESSIONID = 0ABDEF9131EBF68D1418589584CA984D CMD =報告/ get_stops_by_interval&PARAMS = {“obj_id”:10524“,begin_dt”:“01.06.2016T00:00:00”,“END_DT”:“01.06。 2016T13:00:00“}
響應示例:
{“計數”:1,“停止”:[{“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。“,”duration_in_sec“:23,”finish_message_location“:”281,Rozybakiev St,Баганашыл,Almaty,Бостандыкскийрайон,Almaty,050023,Kazakhstan“,”finish_message_coordinates_str“:”43.198202,76.89431(7)“ ,“obj_id”:10524,“finish_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“,”start_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“}]}