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