查询号码组详情
更新时间:2024-09-23
URL
https://aiob-open.baidu.com/api/v3/console/apitask/member/detail
https://aicc.bce.baidu.com/api/v3/console/apitask/member/detail(即将下架)
HTTP Method
POST
请求参数
Header
参数名称 | 是否必须 | 说明 | 示例 |
---|---|---|---|
Content-Type | 是 | application/json | application/json |
Authorization | 是 | 参考「生成认证Token」文档 | cc-api-auth-v1/5b050c050f5a4e74b8c20bf512e39c1d/2021-04-13T08:05:43Z/1800000/host;x-bce-date/746ed9ad706c379f31bafc292e3c720797e39bb7f08ce5f641d657e14e42dd33 |
名称 | 类型 | 是否必须 | 说明 | 示例 |
---|---|---|---|---|
taskMemberId | long | 是 | 百度侧号码组id,需统一taskMemberId | 732530014224641 |
响应参数
名称 | 类型 | 备注 |
---|---|---|
code | int | http响应码,比如200 |
msg | string | 响应信息,成功为success,失败时为具体原因 |
data | obj | 成功时为号码组中每通电话的详情数据 |
data数据
参数名称 | 类型 | 说明 |
---|---|---|
sessionId | string | 会话ID,唯一标识 |
memberId | long | 号码组ID |
mobile | string | 被叫号码 |
intent | string | 客户意向 |
endType | int | 接通状态,1-已接通 0-未接通 2-待拨打 |
completeType | int | 业务完成状态(是否触发流程片段中的完成节点),2-完成 3-未完成 |
endTypeReason | string | 未接通原因,string// 空号:notexist,停机:stopped,关机:poweroff,无法接通:cantbeconnected,用户忙:linebusy,规则限拨:ruleslimit,超过截止时间:beyonddeadline,黑名单:blacklist,其他原因:else,成功:success |
taskName | string | 任务名称 |
robotName | string | 机器人名称 |
callType | int | 呼叫类型,0-首次呼叫;1-重试;2-预约呼叫;3-实时呼叫 |
startTime | string | 开始呼叫时间 |
talkingStartTime | string | 通话开始时间 |
callTimes | int | 拨打次数 |
talkingTimeLen | int | 通话时长 |
collectInfo | obj | 信息收集,流程中收集的信息 |
tagExtractInfo | obj | 大模型抽取信息 |
contactUUID | String | 获取录音的uuid |
record | array | 对话内容 |
record数据
名称 | 类型 | 备注 |
---|---|---|
role | string | 角色,现有机器人侧(speech)和客户侧(voice) |
timestamp | long | 时间戳,微秒 |
contextText | string | 回复文本 (speech角色下取此字段则为机器人回复文本),(voice角色下取此字段则为客户侧回复文本) |
audioId | string | 录音ID |
intent | string | 意图 |
start | string | 片段开始时间(基于对话开始的相对时间) |
stop | string | 片段结束时间(基于对话开始的相对时间) |
timeLen | long | 片段时长,毫秒 |
interrupted | boolean | 打断标识,未打断 |
interruptedTime | string | 打断时间 (基于对话开始的相对时间) |
silent | boolean | 静默标识 |
请求示例
{
"taskMemberId":732530014224641 // 百度侧号码组id
}
返回示例
{
"code": 200,
"msg": "success",
"data": [
{
"sessionId": "0641300a-83da-4919-8f88-5233978dd300", //会话ID,唯一标识
"memberId": 732530014224641,//号码组ID
"mobile": "13788880909", //被叫号码
"intent": "未分类",
"endType": 0,//接通状态,1-已接通 0-未接通 2- 待拨打
"completeType": 3,//业务完成状态(是否触发流程片段中的完成节点),2-完成 3-未完成
"endTypeReason": null, // 未接通原因,string// 空号:notexist,停机:stopped,关机:poweroff,无法接通:cantbeconnected,用户忙:linebusy,规则限拨:ruleslimit,超过截止时间:beyonddeadline,黑名单:blacklist,其他原因:else,成功:success
"taskName": "test_tt_zpi_005", //任务名
"robotName": "机器人名称", //机器人名
"callType": 0,// 呼叫类型,0-首次呼叫;1-重试;2-预约呼叫;3-实时呼叫
"startTime": "2021-06-01 11:40:35", // 开始时间
"talkingStartTime": "2021-06-01 11:40:37", //电话开始时间
"callTimes": 1, //拨打次数
"talkingTimeLen": 5,// 通话时长
"collectInfo": { //信息收集
"hungupnode": "拒绝_首次施压(11)"
},
"record": [
{
"role": "speech",//角色,现有机器人侧(speech)和客户侧(voice)
"timestamp": 1603542315800942, //时间戳,微秒
"contextText": "您好,这边是千言银行智能客服中心,巴拉巴拉,请问是女士吗?",//回复文本 **(speech角色下取此字段作为回复文本)**
"audioId": "38cccd94-f12c-421f-b115-4be1814e36ef",
"intent": "",//意图
"start": "00:00.310",//片段开始时间(基于对话开始的相对时间)
"stop": "00:05.810",//片段结束时间(基于对话开始的相对时间)
"timeLen": 5500,//片段时长,毫秒
"interrupted": false,//打断标识,未打断
"interruptedTime": "",//打断时间 (基于对话开始的相对时间)
"silent": false //静默标识
},
{
"role": "voice",
"timestamp": 1603542324669326,
"content": "是的,",// 回复文本 **(voice角色下取此字段作为回复文本)**
"intent": "",
"start": "00:07.839",
"stop": "00:08.960",
"timeLen": 1121,
"interrupted": false,
"interruptedTime": "",
"silent": false
},
{
"role": "speech",
"timestamp": 1603542325064067,
"content": "是的,",
"context": "http://ipaas-voice-recording.bj-bos-sandbox.baidu-int.com/d87ce88f-9f8b-4400-8ea2-31129e200e66?authorization=bce-auth-v1%2F76388a9d3aaf46fabd4a1bc66befd5bd%2F2020-10-24T11%3A17%3A06Z%2F3%2Fhost%2F3139da6c7eff13851fb882b229fa5771e595a8d8dc678a600575cb57b122c7de",
"contextText": "您在尾号的已经逾期天,账单金额为元,最低还款金额元,为了保持良好的还款记录,请问您能在,还清这笔欠款吗?",
"audioId": "d87ce88f-9f8b-4400-8ea2-31129e200e66",
"sn": "3F480D8F-B09D-4553-80BE-114B7D8B80BA",
"intent": "shibenren",
"start": "00:09.573",
"stop": "00:19.353",
"timeLen": 9780,
"interrupted": false,
"interruptedTime": "",
"silent": false
},
{
"role": "speech",
"timestamp": 1603542345161627,
"content": "",
"context": "http://ipaas-voice-recording.bj-bos-sandbox.baidu-int.com/66b70421-ed84-4d92-ad2c-e894f6c1c2e0?authorization=bce-auth-v1%2F76388a9d3aaf46fabd4a1bc66befd5bd%2F2020-10-24T12%3A06%3A49Z%2F3%2Fhost%2F4e05ca46c4faa4c9f7c41518d822962901e20cabd782c531bf7f007155781be7",
"contextText": "您好,您能听得到吗?",
"audioId": "66b70421-ed84-4d92-ad2c-e894f6c1c2e0",
"sn": "3F480D8F-B09D-4553-80BE-114B7D8B80BA",
"intent": "",
"start": "00:29.671",
"stop": "00:31.291",
"timeLen": 1620,
"interrupted": false,
"interruptedTime": "",
"silent": true
},
{
"role": "voice",
"timestamp": 1603542350795581,
"content": "不能啊,",
"context": "",
"contextText": "",
"audioId": "2020/10/24//20/94cd0dc6-d36f-44fe-a643-8a8154a83371.wav",
"sn": "42ED27A8-8005-4CB8-99BD-31DE88580D04",
"intent": "",
"start": "00:33.119",
"stop": "00:35.390",
"timeLen": 2271,
"interrupted": false,
"interruptedTime": "",
"silent": false
},
{
"role": "speech",
"timestamp": 1603542355533256,
"content": "不能啊,",
"context": "http://ipaas-voice-recording.bj-bos-sandbox.baidu-int.com/84bfeaee-8eab-4452-b386-c61c8dfcc748?authorization=bce-auth-v1%2F76388a9d3aaf46fabd4a1bc66befd5bd%2F2020-10-24T12%3A25%3A55Z%2F3%2Fhost%2F385fe52e7020a63da96bf1dcbbfc62b121563eba00abbc3b2d05f5f35b8bffb8",
"contextText": "如果您实在是有困难,您可以先和亲朋好友筹借资金,还上最低还款额元,待资金宽裕后马上还给朋友,卡片又能循环使用,同时不会影响您资金周转,这样您看可以吗?",
"audioId": "84bfeaee-8eab-4452-b386-c61c8dfcc748",
"sn": "42ED27A8-8005-4CB8-99BD-31DE88580D04",
"intent": "sys_no",
"start": "00:40.042",
"stop": "00:54.542",
"timeLen": 14500,
"interrupted": true,
"interruptedTime": "",
"silent": false
},
{
"role": "speech",
"timestamp": 1603542370362513,
"content": "",
"context": "http://ipaas-voice-recording.bj-bos-sandbox.baidu-int.com/66b70421-ed84-4d92-ad2c-e894f6c1c2e0?authorization=bce-auth-v1%2F76388a9d3aaf46fabd4a1bc66befd5bd%2F2020-10-24T12%3A06%3A49Z%2F3%2Fhost%2F4e05ca46c4faa4c9f7c41518d822962901e20cabd782c531bf7f007155781be7",
"contextText": "您好,您能听得到吗?",
"audioId": "66b70421-ed84-4d92-ad2c-e894f6c1c2e0",
"sn": "42ED27A8-8005-4CB8-99BD-31DE88580D04",
"intent": "",
"start": "00:54.871",
"stop": "00:56.491",
"timeLen": 1620,
"interrupted": true,
"interruptedTime": "01:00.355",
"silent": true
}
],
"contactUUID": "1fa24afe-c28b-11eb-8dc1-fa27000306ed",
"contactId": null
}
]
}