Get report status and report result

After request report/exec_report with parameter “remoteExec”:1 use the command report/get_report_status without parameters:

svc=report/get_report_status&params={}

Response:

{"status":<code>}
Status code Description
1 In a queue
2 Proceed
4 Done
8 Canceled
16 Invalid report \\no such report

After successful result (“status”:“4” in response) execute request report/apply_report_result without parameters:

svc=report/apply_report_result&params={}

Response with information from report is the same as after report/exec_report

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam