查询用户推送日志。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| EnterpriseId |
integer |
是 |
呼叫中心 id |
7000002 |
| Type |
integer |
否 |
推送类型;1:来电推送、2:来电响铃推送、3:外呼响铃推送、4:webcall 转座席响铃推送、5:来电接通推送、6:外呼接通推送、7:来电挂机推送、8:外呼挂机推送、9:座席状态推送、10:按键推送、11:号码状态识别推送、12:录音状态推送、13:HTTP 交互推送、15:ASR 语音转换结果推送、14:预测式外呼任务推送、16:webcall 客户侧响铃推送、17:满意度调查推送、18:预测外呼客户接听状态推送、19:NLU 推送、20:预测外呼双方接听推送、21:IVR 交互结束推送、22:外呼客户响铃推送、23:webcall 客户接听推送、24:webcall 转接响铃推送、25:webcall 转接接通推送、26:主叫外呼分机响铃推送、27:主叫外呼分机接听推送、28:主叫外呼客户响铃推送、29:主叫外呼双方接通推送 |
1 |
| Result |
integer |
否 |
推送结果;取值:1、成功,0、失败 |
1 |
| Url |
string |
否 |
推送的 url;说明:目的 URL |
"" |
| StartTime |
string |
是 |
查询开始时间;格式:"yyyy-MM-dd HH:mm:ss",精确到 s。startTime 与 endTime 不允许跨月,默认值取当前月份第一天 |
2026-04-20 10:00:00 |
| EndTime |
string |
是 |
查询结束时间;格式:"yyyy-MM-dd HH:mm:ss",精确到 s。startTime 与 endTime 不允许跨月,默认值取当前月份最后一天 |
2026-04-23 10:00:00 |
| Retry |
integer |
否 |
重试次数;默认-2 |
3 |
| Start |
string |
否 |
从第几条开始取;大于等于 0,默认 0 |
0 |
| Limit |
string |
否 |
需要取出的数据条数;大于 0,最大不能超过 500,默认 10 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| AccessDeniedDetail |
string |
本组参数已弃用,请忽略。 |
无 |
| RequestId |
string |
请求 ID。 |
6086693B-2250-17CE-A41F-06259AB6DB1B |
| Message |
string |
返回信息。 |
OK |
| Data |
object |
返回数据。 |
|
| List |
array<object> |
返回数据 JSON 格式 |
|
|
object |
|||
| UniqueId |
string |
唯一标识 |
"" |
| EndTime |
string |
推送结束时间 |
1774822137959 |
| ContentType |
integer |
文本类型 |
1 |
| Position |
string |
推送位置 |
0 |
| Timeout |
string |
超时时间 |
3 |
| Headers |
string |
请求头 |
{} |
| CreateTime |
string |
创建时间 |
1774822134415 |
| TypeStr |
string |
推送类型字符串 |
主通话记录推送 |
| StartTime |
string |
推送开始时间 |
1774822134132 |
| Params |
string |
推送参数 |
{\"bindTel\":\"01041000229\",\"stateAction\":\"idle\",\"cno\":\"8702\",\"bindType\":\"1\",\"enterpriseId\":\"7122600\",\"state\":\"空闲\",\"timeInMillis\":\"1774822137188\",\"time\":\"1774822137\",\"event\":\"status\",\"loginStatus\":\"1\",\"deviceStatus\":\"0\"} |
| RequestTime |
string |
推送时间 |
1774822137191 |
| Method |
string |
推送方法 |
GET |
| StatusCode |
string |
状态码 |
200 |
| Url |
string |
推送 url |
https://www.aaa.com/index.htm |
| Delay |
integer |
延迟推送时间 |
0 |
| EnterpriseId |
string |
企业 id |
7122600 |
| Result |
string |
推送状态 |
1 |
| Type |
integer |
推送类型 |
9 |
| ResultText |
string |
返回文本 |
{\"stateAction\":\"busyAgentOb\",\"cno\":\"8702\",\"bindType\":\"1\",\"timeInMillis\":\"1774822133193\",\"loginStatus\":\"1\",\"customerNumber\":\"01042000229\",\"callType\":\"4\",\"deviceStatus\":\"4\",\"bindTel\":\"01041000229\",\"mainUniqueId\":\"sip-33-1774822127.355\",\"enterpriseId\":\"7122600\",\"state\":\"通话\",\"time\":\"1774822133\",\"event\":\"status\",\"uniqueId\":\"sip-33-1774822127.355\"} |
| Level |
integer |
推送登记 |
0 |
| Retry |
integer |
重试次数 |
0 |
| Id |
string |
日志 id |
12715 |
| CurrentMonth |
string |
当月 |
"" |
| Code |
string |
状态码 |
OK |
示例
正常返回示例
JSON格式
{
"AccessDeniedDetail": "无",
"RequestId": "6086693B-2250-17CE-A41F-06259AB6DB1B",
"Message": "OK",
"Data": {
"List": [
{
"UniqueId": "\"\"",
"EndTime": "1774822137959",
"ContentType": 1,
"Position": "0",
"Timeout": "3",
"Headers": "{}",
"CreateTime": "1774822134415",
"TypeStr": "主通话记录推送",
"StartTime": "1774822134132",
"Params": "{\\\"bindTel\\\":\\\"01041000229\\\",\\\"stateAction\\\":\\\"idle\\\",\\\"cno\\\":\\\"8702\\\",\\\"bindType\\\":\\\"1\\\",\\\"enterpriseId\\\":\\\"7122600\\\",\\\"state\\\":\\\"空闲\\\",\\\"timeInMillis\\\":\\\"1774822137188\\\",\\\"time\\\":\\\"1774822137\\\",\\\"event\\\":\\\"status\\\",\\\"loginStatus\\\":\\\"1\\\",\\\"deviceStatus\\\":\\\"0\\\"}",
"RequestTime": "1774822137191",
"Method": "GET",
"StatusCode": "200",
"Url": "https://www.aaa.com/index.htm",
"Delay": 0,
"EnterpriseId": "7122600",
"Result": "1",
"Type": 9,
"ResultText": "{\\\"stateAction\\\":\\\"busyAgentOb\\\",\\\"cno\\\":\\\"8702\\\",\\\"bindType\\\":\\\"1\\\",\\\"timeInMillis\\\":\\\"1774822133193\\\",\\\"loginStatus\\\":\\\"1\\\",\\\"customerNumber\\\":\\\"01042000229\\\",\\\"callType\\\":\\\"4\\\",\\\"deviceStatus\\\":\\\"4\\\",\\\"bindTel\\\":\\\"01041000229\\\",\\\"mainUniqueId\\\":\\\"sip-33-1774822127.355\\\",\\\"enterpriseId\\\":\\\"7122600\\\",\\\"state\\\":\\\"通话\\\",\\\"time\\\":\\\"1774822133\\\",\\\"event\\\":\\\"status\\\",\\\"uniqueId\\\":\\\"sip-33-1774822127.355\\\"}",
"Level": 0,
"Retry": 0,
"Id": "12715",
"CurrentMonth": "\"\""
}
]
},
"Code": "OK"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。