Iarratas ar theimpléad:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = tuarascálacha / get_over_speeds_by_interval & params = {"obj_id": <obj_id>, "start_dt": "<begin_dt>", "end_dt": "<end_dt > "}
Iarr paraiméadair:
sid
aitheantóir seisiúin uathúil
obj_id
start_dt
end_dt
Teimpléad freagartha:
{"comhaireamh": <count>, "over_speeds": <over_speeds>}
Paraiméadair fhreagartha:
os cionn
raon farasbairr luais
Iarr sampla:
http: //morseti.barkuan8.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = tuarascálacha / get_over_speeds_by_interval & params = {"obj_id": 10524, "start_dt": "01.07.2016T00: 00: 00", "end_dt": "01.07. 2016T01: 00: 00 "}
Sampla freagartha: