get_result_video
The get_result_video method is used to get a video from a report.
svc=report/get_result_video¶ms={"attachmentIndex":<uint>}
Parameters
| Name | Description |
|---|---|
| attachmentIndex | Attachment index. |
Returned result
{
"video_uri": "<text>", /* link to the video */
"video_type": "<text>" /* type of the video */
}
Possible error codes:
| Code | Description |
|---|---|
| 7 | The unit doesn’t exist, or the user doesn’t have the Request reports and messages access right to it. |
| 6 | Undefined error. |
| 4 | Wrong input parameters. |