Anmodning skabelon:
http: // {host} / ts / json_api; JSESSIONID = <sid> cmd = rapporterer / get_refuels_by_interval & params = { "obj_id":? <obj_id>, "begin_dt": "<begin_dt>", "END_DT": "<END_DT > "}
Anmodning parametre:
sid
unikke sessionsidentifikator
obj_id
begin_dt
END_DT
Svarskabelon:
{ "Tælle": <count>, "tanker op": <refuels>}
Response parametre:
refuels
Forespørgselseksempel:
http: //% vært% / 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" }
Svar eksempel:
{ "Count": 0, "refuels": []}