(30027) Call Report Download Result
When data is retrieved asynchronously and the download URL of call report is generated, the PBX will send an event report to the third-party application.
Report parameters
| Parameter | Type | Description |
|---|---|---|
| type | Integer | Event ID. |
| msg | Object<Detailed_Info> | The detailed information. |
Detailed_Info
| Parameter | Type | Description |
|---|---|---|
| key | String | Event name. |
| result | String | Result of the report download.
|
| file | String | Report filename. |
| download_resource_url | String | The call report download URL. |
| error | String | Returned error message. |
| download_id | Integer | The unique ID of the call report. |
Report example
{
"type": 30027,
"msg": {
"key": "report_download",
"result": "success",
"file": "Sep-Agent-Performance_detail.csv",
"download_resource_url": "/api/download/Sep-Agent-Performance_detail.csv",
"error": "",
"download_id": 8
}
}