Minta templat:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = laporan / get_defuels_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>, "defuels": <defuels>}
Parameter tindak balas:
pengawal
Permintaan contoh:
http: //morseti.barkuan8.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = reports / get_defuels_by_interval & params = {"obj_id": 10524, "begin_dt": "01.06.2016T10: 00: 00", "end_dt": "01.06. 2016T11: 10: 00 "}
Contoh tindak balas:
{"count": 0, "defuels": []}