调用GetCallDetailRecord获取指定实例下指定通话ID对应的通话的详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ContactId | string | 是 | 通话 ID。 | job-10963442671187**** |
InstanceId | string | 是 | 实例 ID。 | ccc-test |
返回参数
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "7BEEA660-A45A-45E3-98CC-AFC65E715C23",
"Data": {
"ReleaseInitiator": "customer",
"ContactDisposition": "Success",
"ContactType": "OUTBOUND",
"AgentIds": "agent1@ccc-test,agent2@ccc-test",
"CallDuration": 50,
"RecordingReady": true,
"EstablishedTime": 1532458000000,
"InstanceId": "ccc-test",
"SatisfactionSurveyOffered": true,
"CalledNumber": "1332315****",
"AgentNames": "agent1,agent2",
"Satisfaction": 1,
"StartTime": 1532458000000,
"ContactId": "job-10963442671187****",
"SatisfactionSurveyChannel": "IVR",
"ReleaseTime": 1532458000000,
"CallingNumber": "0533128****",
"SkillGroupNames": "测试技能组",
"SkillGroupIds": "skillgroup@ccc-test",
"AgentEvents": [
{
"AgentName": "坐席小王",
"AgentId": "agent@ccc-test",
"SkillGroupId": "skillgroup@ccc-test",
"EventSequence": [
{
"Event": "Dialing",
"EventTime": 1604639129000,
"Duration": 3
}
]
}
],
"IvrEvents": [
{
"FlowId": "edaf2eaa-8f88-44ca-812e-41b3cd2b7a90",
"EventSequence": [
{
"Event": "Route2IVR",
"EventTime": 1604639129000
}
],
"FlowType": "MAIN_FLOW"
}
],
"QueueEvents": [
{
"QueueId": "skillgroup@ccc-test",
"QueueName": "测试技能组",
"FlowId": "edaf2eaa-8f88-44ca-812e-41b3cd2b7a90",
"QueueType": 1,
"EventSequence": [
{
"Event": "Enqueue",
"EventTime": 1604639129000
}
]
}
],
"CustomerEvents": [
{
"CustomerId": "1332315****",
"EventSequence": [
{
"Event": "Released",
"EventTime": 1532458000000
}
]
}
],
"CallerLocation": " 山东省-淄博",
"CalleeLocation": "河北省-唐山",
"EarlyMediaState": "NotConnected",
"ReleaseReason": "200 - OK",
"AnalyticsReportReady": true,
"AnalyticsReport": {
"ProblemSolving": {
"TaskId": "",
"Success": true,
"Solved": true,
"Problem": "",
"Solution": ""
},
"Emotion": {
"TaskId": "",
"Success": true,
"Type": "",
"Confidence": 0,
"Remark": ""
},
"Satisfaction": {
"TaskId": "",
"Success": true,
"SatisfactionDescription": "",
"Remark": ""
},
"TodoList": {
"TaskId": "",
"Success": true,
"Tasks": [
""
]
}
}
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Parameter.Blank | The parameter %s may not be null or blank. | 该参数不能为null或含有空白符的字符串。 |
访问错误中心查看更多错误码。