Iarratas ar theimpléad:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = tuarascálacha / get_refuels_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>, "refuels": <refuels>}
Paraiméadair fhreagartha:
athbhreoslaí
Iarr sampla:
http: //uvivion.com / ts / json_api; jsessionid = 0ABDEF9131EBF68D1418589584CA984D? cmd = tuarascálacha / get_refuels_by_interval & params = {"obj_id": 10524, "start_dt": "01.06.2016T10: 00: 00", "end_dt": "01.06. 2016T11: 10: 00 "}
Sampla freagartha:
{"comhaireamh": 0, "refuels": []}