Begär mall:
http: // {värd} / ts / json_api, JSESSIONID = <sid> cmd = rapporterar / get_refuels_by_interval & params = { "obj_id"? <obj_id> "begin_dt": "<begin_dt>", "end_dt": "<end_dt > "}
Begär parametrar:
sid
unik sessionsidentifierare
obj_id
begin_dt
end_dt
Svarmall:
{ "Räkna": <count>, "refuels": <refuels>}
Svarparametrar:
refuels
Begär exempel:
http: //% värd% / ts / json_api, JSESSIONID = 0ABDEF9131EBF68D1418589584CA984D cmd = rapporter / get_refuels_by_interval & params = { "obj_id": 10524, "begin_dt": "01.06.2016T10: 00: 00", "end_dt": "01.06. 2016T11: 10: 00" }
Svarsexempel:
{ "Count": 0, "refuels": []}