My user is desarrollador, I am use the sdk php.
For me is not working
http://hst-api.wialon.com/wialon/ajax.h … mp;params=[{"svc":"report\/exec_report","params":{"reportResourceId":23125,"reportTemplateId":0,"reportObjectId":13846903,"reportObjectSecId":0,"interval":{"flags":0,"from":1481608800,"to":1481867999},"reportTemplate":{"n":"Dispatch Fuel","ct":"avl_unit","p":"","tbl":[{"n":"unit_engine_hours","l":"Fuel","f":2097424,"c":"time_begin,time_end,trailer,fuel_consumption_imp,fuel_consumption_ins","cl":"Beginning,End,Trailer,By Impulse,By Instant","sl":"","s":"","p":"{\"grouping\":\"{\\\"type\\\":\\\"day\\\"}\",\"sensor_name\":\"*Fuel Dispensado*\",\"duration_format\":\"0\"}","sch":{"y":0,"m":0,"w":0,"f1":0,"f2":0,"t1":0,"t2":0}}]}}},{"svc":"report\/select_result_rows","params":{"tableIndex":0,"config":{"type":"range","data":{"from":0,"to":65535,"level":1}}}},{"svc":"report\/cleanup_result","params":[]}]&sid=<sid>
But i remove the request cleanup result it's works fine
http://hst-api.wialon.com/wialon/ajax.h … mp;params=[{"svc":"report\/exec_report","params":{"reportResourceId":23125,"reportTemplateId":0,"reportObjectId":13926449,"reportObjectSecId":0,"interval":{"flags":0,"from":1481608800,"to":1481867999},"reportTemplate":{"n":"Dispatch Fuel","ct":"avl_unit","p":"","tbl":[{"n":"unit_engine_hours","l":"Fuel","f":2097424,"c":"time_begin,time_end,trailer,fuel_consumption_imp,fuel_consumption_ins","cl":"Beginning,End,Trailer,By Impulse,By Instant","sl":"","s":"","p":"{\"grouping\":\"{\\\"type\\\":\\\"day\\\"}\",\"sensor_name\":\"*Fuel Dispensado*\",\"duration_format\":\"0\"}","sch":{"y":0,"m":0,"w":0,"f1":0,"f2":0,"t1":0,"t2":0}}]}}},{"svc":"report\/select_result_rows","params":{"tableIndex":0,"config":{"type":"range","data":{"from":0,"to":65535,"level":1}}}}]&sid=<sid>
I'll try execute only cleanup result is not working
http://hst-api.wialon.com/wialon/ajax.h … mp;params=[{"svc":"report\/cleanup_result","params":[]}]&sid=<sid>
Request fail if I include a clean up result report, I dont understand because its happens.
Thank you so much of your time.