JSON格式
| Name | Type | Read-only | Comment |
|---|---|---|---|
| id | integer | yes | 通话明细ID,由系统自动分配 |
| type | string | yes | 通话类型 |
| source | string | yes | 按键路由 |
| fromattr | string | yes | 来自地区 |
| from | string | yes | 主叫号码 |
| to | string | yes | 被叫号码 |
| recordurl | string | yes | 录音地址 |
| alerting_seconds | integer | yes | 响应时长 |
| duration | integer | yes | 通话时长 |
| callduration | integer | yes | 总时长 |
| connect | integer | yes | 是否接通(0:未接 1:接通) |
| created_at | date | yes | 来电时间 |
| ticket_id | integer | yes | 工单ID |
| user_id | integer | yes | 用户ID |
| user_name | string | yes | 用户名称 |
| agent_id | integer | yes | 客服ID |
| agent_name | string | yes | 客服名称 |
| satisfaction | string | yes | 满意度 |
| is_transfer | integer | yes | 是否有转接(0:无 1:有) |
JSON 示例
{
"id": 17,
"type": "呼入",
"source": "-",
"fromattr": "四川成都",
"from": "1862831****",
"to": "01082167014",
"recordurl": "https://ccp02.oss.aliyuncs.com/ivr_record/4001052073/20150311/R00002a63_20150311143916.wav",
"alerting_seconds": 10,
"duration": 0,
"callduration": 50,
"connect": 1,
"created_at": "2016-12-15 14:25:58",
"ticket_id": 3084,
"user_id": null,
"user_name": null,
"agent_id": 733,
"agent_name": "app",
"satisfaction": "满意",
"is_transfer": 1
}