Topic: Unit Report and Commands
this is my request:
{"reportResourceId":20170575,"reportTemplateId":5,"reportTemplate":null,"reportObjectId":20171323,"reportObjectSecId":0,"interval":{"from":1574697600,"to":1574791199,"flags":16777216}}
path: /wialon/ajax.html?svc=report/exec_report&sid=<sid>
request params is like:
{"reportResourceId":20170575,"reportTemplateId":5,"reportTemplate":null,"reportObjectId":20171323,"reportObjectSecId":0,"interval":{"flags":16777216,"from":1574697600,"to":1574783999},"remoteExec":1,"reportObjectIdList":[]}
but, getting different response.
i am getting
2: "2019-11-25 22:43:07"
3: "2019-11-26 09:13:14"
but in your application getting:
2: "2019-11-26 06:43:07"
3: "2019-11-26 17:13:14"
Another issue i faced getting commands,
unit.getCommands()
this method sometimes returns null sometimes a list of commands .
I am getting user-access as value : 19327369763 (unit.getUserAccess())
and wialon.item.Unit.accessFlag.executeCommands value is: 16777216
so, when checking whether can-execute the command or not, returns false.
so, though i get a list of commands, i cannot execute them,
but when i go to the site from you [/ ] , i can see commands and also can execute them successfully.
I am confused about these issues, just want to know am i making any mistake or not.
please help me about this.