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

时间:2024-09-24 14:46:50

报文样例

请求头:

x-app-key:9******************************3
Authorization:Bearer e******************************e
Content-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_07_1305.html