Omba template:
http: // {host} / ts / json_api; jsessionid = <sid>? cmd = ripoti / get_refuels_by_interval & params = {"obj_id": <obj_id>, "start_dt": "<start_dt>", "end_dt": "<end_dt > "}
Piga vigezo:
sid
kitambulisho cha kikao cha pekee
obj_id
kuanza_dt
mwisho_dt
Kitabu cha majibu:
{"hesabu": <count>, "refuels": <refuels>}
Vigezo vya majibu:
majambazi
Mfano wa ombi:
cm: = ripoti / get_refuels_by_interval & params = {"obj_id": 10524, "start_dt": "01.06.2016T10: 00: 00", "end_dt": "01.06. 2016T11: 10: 00 "}
Mfano wa majibu:
{"hesabu": 0, "refueli": []}