查询外呼任务列表

请求地址

https://{baseURL}/api/ddt/queueDialerTask/select

请求方式

POST

请求参数

Header请求参数

参数名 参数值 是否必填 参数类型 描述说明
Authorization 是 string token(通过获取token接口获取)

Body请求参数

参数名 参数值 是否必填 参数类型 描述说明
page 1 是 int 查询的页数
size 10 是 int 查询每页的数量

返回参数

参数名 参数值 是否必填 参数类型 描述说明
totalElements 5 是 int 总数
content 是 array[object]
content.createUserId 是 int 创建人
content.paramsLimit 是 int 任务并发
content.pushConfig 否 array[object] 推送配置
content.pushConfig.sourceId 否 string
content.pushConfig.uId 否 int
content.pushConfig.sourceTable 否 string
content.pushConfig.templateName 否 string 推送模板名称
content.pushConfig.templateTable 否 string 推送模板类型
content.pushConfig.templateId 否 string 推送模板Id
content.pushConfig.potential 否 array[string] 推送意向
content.pushConfig.id 否 string
content.pushConfig.updateDateTime 否 string 更新日期
content.pushConfig.isDel 否 int
content.pushConfig.createDateTime 否 string 创建日期
content.description 是 string 任务描述
content.createRole 是 string 创建者角色
content.createUserName 是 string 创建人名称
content.dialerType 是 int
content.customVariables 否 array[object] 任务变量
queue_dialer_task.customVariables.field 否 string 变量
queue_dialer_task.customVariables.label 否 string 变量对应的展示名称
content.paramsStopTime 是 string 任务停止时间
content.transferMode 是 int 转接方式
content.paramsLineGroup [“adbd28378b154083857629424a014877”] 是 array[string] 线路组
content.id 是 string
content.llen 是 int 剩余未拨打号码
content.paramsEnable 是 boolean 任务状态,true-开启,false-关闭
content.variablesCcAutodialerAutoOff 是 boolean 自动关闭任务
content.totalLen 是 int 任务内的号码数量
content.paramsWorkHour 是 array[object] 机器人工作时间
content.paramsWorkHour.wday 是 array[int] 0-6的数字 0代表周日
content.paramsWorkHour.end 21:00:00 是 array[int] 结束时间
content.paramsWorkHour.begin 09:00:00 是 array[int] 开始时间
content.paramsNumberQueue 是 string 队列key
content.relationId 是 话术ID
content.createDateTime 是 string 任务创建时间
content.uId 是 string
content.relationName 是 string 任务名称
content.isDel 是 int
content.useTableName 是 int
content.paramsStartTime 是 任务开始时间
content.paramsCps 是 int 呼叫速率,1秒最多呼叫多少号码,如果10秒呼叫1个,可以设置0.1
content.variablesBackgroundSound 是 string
content.variablesOriginationCallerIdNumber 是 string
content.useTable 是 string 工单id

请求示例

POST https://{baseURL}/api/ddt/queueDialerTask/select
Accept:application/json;
Authorization:"token"

{
    "size": 10,
    "page": 1
}

返回示例

{
    "totalElements": 1,
    "content": [
        {
            "createUserId": 386597005662752768,
            "paramsLimit": 1,
            "pushConfig": [
                {
                    "sourceId": "376255d61c9f430d80ed77d6d4d052e1",
                    "uId": 386597005662752768,
                    "sourceTable": "cti_queue_dialer_task",
                    "templateName": "话单推送测试",
                    "templateTable": "http",
                    "id": "394283677691154432",
                    "templateId": "777123b4f6a031bc5f5e10ef672885c0",
                    "updateDateTime": "2026-11-12 14:10:25",
                    "isDel": 0,
                    "potential": [
                        -1,
                        48,
                        49,
                        50,
                        51,
                        52,
                        53,
                        290
                    ],
                    "createDateTime": "2026-11-12 14:10:25"
                }
            ],
            "description": "API接口调用机器人测试",
            "createRole": "user",
            "createUserName": "uincallpm",
            "dialerType": 0,
            "customVariables": [
                {
                    "field": "name",
                    "label": "客户名称"
                }
            ],
            "paramsStopTime": "2027-11-30 23:59:59",
            "transferMode": 0,
            "paramsLineGroup": [
                "adbd28378b154083857629424a014877"
            ],
            "id": "376255d61c9f430d80ed77d6d4d052e1",
            "llen": 0,
            "paramsEnable": true,
            "variablesCcAutodialerAutoOff": false,
            "totalLen": 0,
            "paramsWorkHour": [
                {
                    "wday": [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5,
                        6
                    ],
                    "end": "22:00:00",
                    "begin": "02:00:00"
                }
            ],
            "paramsWorkWeek": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
            ],
            "paramsNumberQueue": "cti_autocall_376255d61c9f430d80ed77d6d4d052e1",
            "relationId": "d0d430e59553e7ab442ddf926172b458",
            "createDateTime": 1794463825000,
            "uId": "386597005662752768",
            "relationName": "测试外呼话术",
            "variablesExecuteOnMediaDa2": "",
            "name": "测试任务11月12日14:00",
            "isDel": 0,
            "useTableName": null,
            "paramsStartTime": "2026-11-13 00:00:00"
        }
    ]
}
文档更新时间: 2026-11-12 16:20   作者:admin