ClinkListCdrObs - 查询外呼通话记录列表

更新时间:
复制 MD 格式

查询外呼通话记录列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

EnterpriseId

integer

是

呼叫中心 id

8004970

HiddenType

integer

否

是否隐藏号码。 0: 不隐藏,1: 中间四位,2: 最后八位 3: 全部号码,4: 最后四位。默认值为 0

0

CustomerNumber

string

否

客户号码

177xxxx

Cno

string

否

座席号,要求只能是 4-11 位数字

1111

Hotline

string

否

热线号码

Hotline

Status

integer

否

接听状态。取值范围如下: 0: 全部 1: 客户未接听 2: 座席未接听 3: 双方接听 默认值为 0

0

Mark

integer

否

标记。取值范围如下: 为空表示全部, 1:留言 2:转移 3:咨询 4:三方 5:传真接收 6:会议 7:交互 8:IVR 中放弃 9:已进入 IVR 10:未进入 IVR 11:队列中放弃 12:队列中溢出 注: 其中 mark 值 2,3,4,7 仅在 status=1(座席接听)时有效, mark 值 1,5,6,8,9,10,11,12 在 status=3(系统接听)时有效

3

Province

string

否

客户省份

北京

City

string

否

客户城市

北京

MainUniqueId

string

否

通话记录唯一标识

MainUniqueId

RequestUniqueId

string

否

请求唯一标识

RequestUniqueId

ClientNumber

string

否

座席电话

xxx

QueueAnswerInTime

integer

否

队列及时应答: 0: 否 1: 是 2: -

0

Evaluation

integer

否

是否邀评: 0: 否 1: 是 2: -

0

IdType

integer

否

业务 ID 类型,1:工单;2:业务记录

44

AssociatedId

integer

否

业务 ID

AssociatedId

StartTime

integer

否

开始时间,时间戳格式精确到秒。默认值取当前月份第一天

1775024775

EndTime

integer

否

结束时间,时间戳格式精确到秒,开始时间和结束时间跨度不能超过一个月。默认值取当前时间

1775024775

Offset

integer

否

偏移量,范围 0-99990。默认值为 0。注:limit + offset 不允许超过 100000

0

Limit

integer

否

查询条数,范围 10-100。默认值为 10。注:limit + offset 不允许超过 100000

100

返回参数

名称

类型

描述

示例值

object

AccessDeniedDetail

string

废弃参数可忽略

无

RequestId

string

请求 ID。

4B52E871-0F7C-59FC-9C7E-94B550953BA9

Message

string

返回信息。

OK

Data

object

返回数据。

TotalCount

integer

总条数

49

PageSize

integer

一页展示条数

10

PageNumber

integer

当前页码

1

CdrObs

array<object>

外呼通话记录列表

object

外呼通话记录

CustomerProvince

string

客户省份

北京

EndTime

integer

结束时间。Unix 时间戳,单位:秒。

1775024775

Cno

string

座席号

1111

CallType

string

外呼类型,预览外呼、预测外呼、直接外呼

预览外呼

Mark

integer

标记

3

StatusCode

string

接听状态映射

客户接听

ClientName

string

座席名称

ClientName

EndReason

string

挂机方

主通道挂断

Qno

string

来电队列号

1212

RecordFile

string

录音文件名

null

CustomerNumber

string

客户号码,带区号

xxx

ClientRingingTime

integer

座席响铃时间。Unix 时间戳,单位:秒。

1775024775

QueueAnswerInTime

integer

队列及时应答

1775024775

Xnumber

string

服务实例号码

xxx

Hotline

string

热线号码

Hotline

Tags

array

标签

string

标签

tag1

IvrName

string

IVR 名称

IvrName

Status

string

接听状态

接通

UniqueId

string

通话记录唯一标识

UniqueId

Evaluation

integer

是否邀评

0

SipCause

string

呼叫结果

呼叫成功

CustomerRingingTime

integer

客户响铃时间。Unix 时间戳,单位:秒。

1775024775

CustomerCity

string

客户城市

北京

CallId

string

通话记录 ID

CallId

StartTime

integer

开始时间。Unix 时间戳,单位:秒。

1775024775

TotalDuration

integer

总时长

81

Qname

string

来电队列名称

2222

MarkData

string

备注

3

TagNames

array

展示通话标签详情,当请求参数 fields 中包含 tagNames 时返回

string

通话标签

tag

CustomerNumberEncrypt

string

客户号码加密串

xxx

BridgeDuration

integer

接通时长

87

BridgeTime

integer

接通时间。Unix 时间戳,单位:秒。

1775024775

ClientNumber

string

座席电话

xxx

ClinkRequestId

string

请求 id

xxx

Code

string

状态码。返回 OK 代表请求成功,其他错误码详见错误码列表。

OK

示例

正常返回示例

JSON格式

{
  "AccessDeniedDetail": "无",
  "RequestId": "4B52E871-0F7C-59FC-9C7E-94B550953BA9",
  "Message": "OK",
  "Data": {
    "TotalCount": 49,
    "PageSize": 10,
    "PageNumber": 1,
    "CdrObs": [
      {
        "CustomerProvince": "北京",
        "EndTime": 1775024775,
        "Cno": "1111",
        "CallType": "预览外呼",
        "Mark": 3,
        "StatusCode": "客户接听",
        "ClientName": "ClientName",
        "EndReason": "主通道挂断",
        "Qno": "1212",
        "RecordFile": "null",
        "CustomerNumber": "xxx",
        "ClientRingingTime": 1775024775,
        "QueueAnswerInTime": 1775024775,
        "Xnumber": "xxx",
        "Hotline": "Hotline",
        "Tags": [
          "tag1"
        ],
        "IvrName": "IvrName",
        "Status": "接通",
        "UniqueId": "UniqueId",
        "Evaluation": 0,
        "SipCause": "呼叫成功",
        "CustomerRingingTime": 1775024775,
        "CustomerCity": "北京",
        "CallId": "CallId",
        "StartTime": 1775024775,
        "TotalDuration": 81,
        "Qname": "2222",
        "MarkData": "3",
        "TagNames": [
          "tag"
        ],
        "CustomerNumberEncrypt": "xxx",
        "BridgeDuration": 87,
        "BridgeTime": 1775024775,
        "ClientNumber": "xxx"
      }
    ],
    "ClinkRequestId": "xxx"
  },
  "Code": "OK"
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。