云客服-查询呼叫历史记录 (queryCallDetailRecord):报文样例

时间:2023-11-01 16:19:55

报文样例

请求头:

x-app-key:9******************************3Authorization:Bearer e******************************eContent-Type:application/json

请求参数:

{"startTime": "1562786332000","endTime": "1563391072000","taskType": "0","offset": 0,"limit": 10}

响应头:

{"connection": "keep-alive","content-type": "application/json;charset=UTF-8"}

响应参数:

{"result": {"total": 11,"callInfo": [{"releaseTime": 1621577022000,"called": "88889060","callerPresent": "640003","agentAlertingTime": 1621576992000,"agentPresent": "640060","talkingTime": 1621576995000,"alertingTime": 1621576994000,"caller": "88889050","agentTalkingTime": 1621576994000,"agentReleaseTime": 1621577022000,"agentTalkDuration": 27,"callSerialNo": "1037058396471308289","startTime": 1621576992000,"endTime": 1621577022000,"talkDuration": 26,"state": 3,"reasonCode": 1}]},"retCode": "0","retMsg": "Query call detail record successfully"}
support.huaweicloud.com/api-ccfs-cec/cec_05_7027.html