查询推送类型
请求地址
https://{baseURL}/api/ddt/linkList?name={{push_type}}
请求方式
GET
请求参数
Header请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| Authorization | 是 | string | token(通过获取token接口获取) |
Query请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| name | http | 是 | string | 对应模板类型 |
返回参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| id | 是 | string | 模板ID | |
| createDateTime | 是 | string | 创建日期 | |
| uId | 是 | string | ||
| startDateTime | 是 | string | ||
| endDateTime | 是 | string | ||
| roleId | 是 | string | ||
| name | 是 | string | 模板名称 | |
| content | 是 | string | 模板内容 | |
| header | 是 | string | ||
| postUrl | 是 | string | 推送的地址 | |
| type | 是 | string | ||
| uid | 是 | string |
请求示例
GET https://{baseURL}/api/ddt/linkList?name=http
Accept:application/json;
Authorization:"token"
返回示例
[
{
"id": "777123b4f6a031bc5f5e10ef672885c0",
"createDateTime": "2026-11-09 11:36:32",
"uId": "386597005662752768",
"startDateTime": null,
"endDateTime": null,
"roleId": 2,
"name": "话单推送测试",
"content": "{\"caller_id_number\":\"{caller_id_number}\",\"callid\":\"{uuid}\",\"robot_call_duration\":\"number.{ROBOT_STATISTIC_talk_time}\",\"robot_proactively_hangup\":\"number.{ROBOT_STATISTIC_proactively_hangup}\",\"hungup_time\":\"datetime.{hungup_time}\",\"sip_hangup_disposition\":\"{sip_hangup_disposition}\",\"callee_id_number\":\"{callee_id_number}\",\"source_name\":\"{source_name}\",\"msg_url\":\"{ddt_msg_url}\",\"direction\":\"{direction}\",\"duration\":\"number.{duration}\",\"created_time\":\"datetime.{created_time}\",\"record_filename\":\"{record_filename}\",\"originator\":\"{originator}\",\"answered_time\":\"datetime.{answered_time}\",\"hangup_cause\":\"{hangup_cause}\",\"dial_number\":\"{dial_number}\",\"label_result\":\"{ROBOT_STATISTIC_label_result}\",\"robot_name\":\"{Uincall_robot_name}\",\"record_file_url\":\"https://aicc.uincall.com/sound\"}",
"header": "",
"postUrl": "http://62cc2dbe.r7.vip.cpolar.cn/botpluginaicc/api/v1/callpush",
"type": "call_log",
"uid": "386597005662752768"
},
{
"id": "62054b78f4c773aa943afac6314e3631",
"createDateTime": "2026-07-29 10:41:07",
"uId": "1",
"startDateTime": null,
"endDateTime": null,
"roleId": 1,
"name": "话单推送",
"content": "{\"caller_number\":\"{caller_id_number}\",\"tenant_id\":\"{organization}\",\"call_source\":\"{call_source}\",\"dial_number\":\"number.{dial_number}\",\"call_id\":\"{uuid}\",\"originator\":\"{originator}\",\"cti_exten_user_id\":\"{cti_exten_user_id}\",\"answered_time\":\"datetime.{answered_time}\",\"direction\":\"{direction}\",\"hangup_cause\":\"{hangup_cause}\",\"created_time\":\"datetime.{created_time}\",\"hungup_time\":\"datetime.{hungup_time}\",\"source_name\":\"{source_name}\",\"called_number\":\"{callee_id_number}\",\"robot_label_result\":\"{ROBOT_STATISTIC_label_result}\",\"sip_hangup_disposition\":\"{sip_hangup_disposition}\",\"duration\":\"number.{duration}\",\"ddt_ai_dialogue\":\"{ddt_ai_dialogue}\",\"robot_respond_count\":\"number.{ROBOT_STATISTIC_respond_count}\",\"robot_talk_time\":\"number.{ROBOT_STATISTIC_talk_time}\",\"ddt_msg_url\":\"{ddt_msg_url}\",\"record_addr\":\"{record_filename}\",\"progress_time\":\"datetime.{progress_time}\",\"robot_proactively_hangup\":\"number.{ROBOT_STATISTIC_proactively_hangup}\",\"robot_to_uincall_ykf\":\"{robot_to_uincall_ykf}\",\"record_file_url\":\"https://aicc.uincall.com/sound\",\"Uincall_robot_name\":\"{Uincall_robot_name}\"}",
"header": null,
"postUrl": "https://ykf.uincall.com/ssoplatform/ddt/push/session",
"type": "callin",
"uid": "1"
}
]文档更新时间: 2026-11-13 17:11 作者:admin