(30027) Report Download
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. SUCCESS
: Succeed.FAILURE
: Failed.
file String Report filename. download_resource_url String The call report download URL. error String Returned error code. Note: You can check the error code and error message in Error Code and 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
}
}