apply_report_result
The apply_report_result method is used to receive the result of an asynchronous report.
The method is only used for the reports requested with the
remoteExecparameter of the report/exec_report request.
svc=report/apply_report_result¶ms={}
The result can be received only after a successful execution of an asynchronous report, that is, after the report/get_report_status request returns
"status":"4".The result can be received only once. After that, it’s removed from the server: a repeated
apply_report_resultrequest returns error 4, andreport/get_report_statusreturns the status 16.
Returned result
The returned result is the same as in the report/exec_report request.
Possible error codes:
| Code | Description |
|---|---|
| 4 | The session has no report result to apply. The report either wasn’t requested with the remoteExec parameter, or hasn’t completed successfully. Check it with the report/get_report_status request: the result can be applied only with the status 4 (Done). |
| 6 | Undefined error. |
| 1003 | The limit has been reached. See the reason field for details. |
| 1004 | The limit of messages has been reached. See the reason field for details. |