'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'aiccs', 'version' => '2023-05-16', ], 'directories' => [ 'AddBlacklist', 'AddTask', 'AgentCancelCall', 'AgentRecoverCall', 'Details', 'EditTask', 'ImportNumber', 'ImportNumberV2', 'Page', 'SmsTemplateCreate', 'SmsTemplatePageList', 'TaskCallChats', 'TaskCallInfo', 'TaskCallList', 'TaskCancelCall', 'TaskList', 'TaskRecoverCall', 'TemplateList', 'UpdateAgentStatus', 'UpdateTaskCustomer', 'QuickAddTask', 'AddAgent', 'QueryAgentInfo', 'AddAgentGroup', 'JoinAgentGroup', 'QuitAgentGroup', 'AgentGroupPage', 'AgentCallList', 'AgentImportNumber', 'CallNumberDetail', 'CallChatList', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddBlacklist' => [ 'summary' => '行业版-添加黑名单。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '179242', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], ], 'parameters' => [ [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', 'items' => [ 'title' => '', 'description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '1380001****', ], 'required' => true, 'example' => '', ], ], [ 'name' => 'ExpiredDay', 'in' => 'query', 'schema' => [ 'title' => '有效天数', 'description' => '有效天数', 'type' => 'string', 'required' => true, 'example' => '1', ], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => [ 'title' => '备注', 'description' => '备注', 'type' => 'string', 'required' => true, 'example' => '备注', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'UnHandleNumbers' => [ 'title' => '错误手机号', 'description' => '未识别的手机号', 'type' => 'array', 'items' => [ 'description' => '手机号码', 'type' => 'string', 'example' => '1380001****', ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '请求状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '操作是否成功:true:操作成功 false:操作失败', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"1380001****\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-添加黑名单', 'description' => '针对行业版外呼拦截号码黑名单', 'requestParamsDescription' => '支持批量拉黑,最高支持5000个号码', ], 'AddTask' => [ 'summary' => '行业版-创建任务。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskType', 'in' => 'query', 'schema' => [ 'title' => '任务类型', 'description' => '任务类型 1:批量-AI外呼-不转人工,2:批量-语音通知,6:新语音通知(22年10月后入驻的企业的默认语音通知类型)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'title' => '任务名称', 'description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => '任务名称', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'title' => '任务启动日期', 'description' => '任务启动日期', 'type' => 'string', 'required' => false, 'example' => '2022-09-16', ], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => [ 'title' => '话术模板类型', 'description' => '话术模板类型 : 1: 单模 版;2:智能话术策略模板。不填默认1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'title' => '话术模板ID', 'description' => '话术模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '17', ], ], [ 'name' => 'MaxConcurrency', 'in' => 'query', 'schema' => [ 'title' => '并发数', 'description' => '并发数 默认为1,不可超过企业设置最高并发数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '99', ], ], [ 'name' => 'RecallType', 'in' => 'query', 'schema' => [ 'title' => '重呼配置', 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '53', ], ], [ 'name' => 'RepeatInterval', 'in' => 'query', 'schema' => [ 'title' => '重呼间隔', 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14', ], ], [ 'name' => 'RepeatCount', 'in' => 'query', 'schema' => [ 'title' => '重呼次数', 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '37', ], ], [ 'name' => 'RepeatTimes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '重呼时间', 'description' => '重呼时间', 'type' => 'array', 'items' => [ 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n" .'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00", "13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"', 'type' => 'string', 'required' => false, 'example' => '22:00', ], 'required' => false, 'example' => '示例值', ], ], [ 'name' => 'RecordPath', 'in' => 'query', 'schema' => [ 'title' => '录音地址', 'description' => '录音地址 当企业开通业务类型是语音通知时,必填', 'type' => 'string', 'required' => false, 'example' => '示例值', ], ], [ 'name' => 'PlaySleepVal', 'in' => 'query', 'schema' => [ 'title' => '播放间隔时长', 'description' => '播放间隔时长 当企业开通业务类型是语音通知时,必填;单位为秒,支持输入≥0的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '89', ], ], [ 'name' => 'PlayTimes', 'in' => 'query', 'schema' => [ 'title' => '录音播放次数', 'description' => '录音播放次数 当企业开通业务类型是语音通知时,必填;支持输入≥0的正整数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51', ], ], [ 'name' => 'RepeatReason', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '重呼条件', 'description' => '重呼条件', 'type' => 'array', 'items' => [ 'description' => '可多选,不传时默认条件全部'."\n" .'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n" .'注,重呼条件编码与描述对应:'."\n" ."\n" .'2 "关机",'."\n" .'3 "空号",'."\n" .'4 "改号",'."\n" .'5 "停机",'."\n" .'6 "占线",'."\n" .'7 "拒接",'."\n" .'8 "无法接通",'."\n" .'9 "未接",'."\n" .'10 "用户欠费",'."\n" .'11 "线路故障",'."\n" .'12 "呼叫失败"'."\n" .'30 "已拦截"'."\n" .'40 "单日呼叫次数受限"', 'type' => 'string', 'required' => false, 'example' => '2', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'CallTimeList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '外呼时间', 'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];默认为[[8,20]]', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'CallTime' => [ 'description' => '外呼时间', 'type' => 'array', 'items' => [ 'description' => '外呼时间 8.5', 'type' => 'string', 'required' => false, 'example' => '8.5', ], 'required' => false, 'example' => '', ], ], 'required' => false, ], 'required' => false, 'enumValueTitles' => [], 'example' => '14', ], ], [ 'name' => 'SendSmsPlan', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '短信发送规则', 'description' => '短信发送规则', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'IntentTags' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'array', 'items' => [ 'description' => '命中的意向标签,大写,例如:["A", "B"],符合任意条件便会触发短信', 'type' => 'string', 'required' => false, 'example' => 'A', ], 'required' => false, 'example' => '', ], 'SmsTemplateId' => [ 'title' => '短信模板ID', 'description' => '短信模板id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '71', ], ], 'required' => false, ], 'required' => false, 'example' => '', ], ], [ 'name' => 'CallbackUrl', 'in' => 'query', 'schema' => [ 'title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值', ], ], [ 'name' => 'FlashSmsType', 'in' => 'query', 'schema' => [ 'title' => '发送闪信配置', 'description' => '发送闪信配置', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'default' => '', ], ], [ 'name' => 'FlashSmsTemplateId', 'in' => 'query', 'schema' => [ 'title' => '当发送闪信配置为1时,闪信模板ID必填', 'description' => '当发送闪信配置为1时,闪信模板ID必填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '96', 'default' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'type' => 'string', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '唯一请求识别码。', 'type' => 'string', 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '47', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1686225227338', ], 'Success' => [ 'description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'boolean', 'example' => 'false', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 47\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": false\\n}","type":"json"}]', 'title' => '行业版-创建任务', 'description' => '行业版-创建任务', ], 'AgentCancelCall' => [ 'summary' => '行业版-坐席取消外呼。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179248', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '64', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abc', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', 'items' => [ 'description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '13314206082', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', 'items' => [ 'description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'UnHandleNumbers' => [ 'title' => '错误手机列表', 'description' => '未识别手机号列表', 'type' => 'array', 'items' => [ 'description' => '未识别的手机号', 'type' => 'string', 'example' => '13100000000', ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '错误编码 0表示成功', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13100000000\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-坐席取消外呼', ], 'AgentRecoverCall' => [ 'summary' => '针对坐席取消外呼的号码,回复到待外呼状态,进行外呼。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179246', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abc', ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', 'items' => [ 'description' => '标签。', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', 'items' => [ 'description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '13541251222,18665214444', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'BeginImportTime', 'in' => 'query', 'schema' => [ 'title' => '查询开始导入时间', 'description' => '查询开始导入时间', 'type' => 'string', 'required' => false, 'example' => ' 2020-03-06 10:10:10', 'default' => '"2023-01-09 18:58:19"', ], ], [ 'name' => 'EndImportTime', 'in' => 'query', 'schema' => [ 'title' => '查询结束导入时间', 'description' => '查询结束导入时间', 'type' => 'string', 'required' => false, 'example' => ' 2021-03-06 10:10:10', 'default' => '"2023-01-09 18:58:19"', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'UnHandleNumbers' => [ 'title' => '错误手机列表', 'description' => '未识别手机号列表', 'type' => 'array', 'items' => [ 'description' => '未识别的手机号', 'type' => 'string', 'example' => '13314206082', ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '错误编码 0表示成功', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'title' => '坐席标签', 'description' => '操作是否成功:true:操作成功 false:操作失败', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13314206082\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-坐席恢复外呼', ], 'Details' => [ 'summary' => 'AI批量任务查询号码状态。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '90', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'title' => '开始导入时间', 'description' => '开始导入的时间:yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-04-25 15:19:02', ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'title' => '结束导入时间', 'description' => '结束导入时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2023-04-25 15:19:02', ], ], [ 'name' => 'BatchId', 'in' => 'query', 'schema' => [ 'title' => '批次id', 'description' => '批次id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '75', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', 'items' => [ 'description' => '需要精确查询的号码,,支持批量 最大1000个号码', 'type' => 'string', 'required' => false, 'example' => '13541251222', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'NumberStatus', 'in' => 'query', 'schema' => [ 'title' => '号码状态', 'description' => '需要精确查询的号码状态:'."\n" .'1.未能外呼;'."\n" .'2.进行中外呼;'."\n" .'3.已完成外呼;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => [ 'title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '77', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '389b2d0a-37e2-406d-b576-1fc0827be46a', ], 'Model' => [ 'description' => '模型。', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '79', ], 'PageSize' => [ 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '94', ], 'TotalPage' => [ 'description' => '总页数', 'type' => 'number', 'format' => 'float', 'example' => '10', ], 'PageNo' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'List' => [ 'description' => '列表', 'type' => 'array', 'items' => [ 'description' => '记录', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '28', ], 'BatchId' => [ 'title' => '批次号', 'description' => '批次号', 'type' => 'integer', 'format' => 'int64', 'example' => '27', ], 'CallDesc' => [ 'title' => '呼叫状态描述', 'description' => '呼叫状态描述 如“已接听”“拒接”'."\n" .'当号码状态为1时,对应描述为:'."\n" .'-516 "外呼号码并发限制"'."\n" .'-515 "号码频次受限"'."\n" .'-514 "没有配置线路"'."\n" .'-513 "并发限制"'."\n" .'-512 "非外呼时间"'."\n" .'-511 "屏蔽区号"'."\n" .'-310 "等待分发"'."\n" .'-210 "取消呼叫(查还款失败)"'."\n" .'-110 "取消呼叫(已还款)"'."\n" .'-20 "座席未在线"'."\n" .'-19 "座席未接听"'."\n" .'-18 "呼叫座席失败"'."\n" .'-17 "取消呼叫"'."\n" .'-16 "超时未外呼"'."\n" .'-15 "获取语音网关信息失败"'."\n" .'-14 "MD5转手机号失败"'."\n" .'-13 "预缓存音频文件失败"'."\n" .'当号码状态为2时,对应描述为:'."\n" .'-12 "预缓存音频文件中"'."\n" .'-11 "等待预缓存音频文件"'."\n" .'-10 "未开始"'."\n" .'-9 "等待外呼"'."\n" .'-8 "呼叫中"'."\n" .'-7 "AI通话中"'."\n" .'-6 "分配坐席中"'."\n" .'-5 "人工通话中"'."\n" .'-4 "监听振铃中"'."\n" .'-3 "监听失败"'."\n" .'-2 "监听中"'."\n" .'当号码状态为3时,对应描述为:'."\n" .'1 "已接听",'."\n" .'2 "关机",'."\n" .'3 "空号",'."\n" .'4 "改号",'."\n" .'5 "停机",'."\n" .'6 "占线",'."\n" .'7 "拒接",'."\n" .'8 "无法接通",'."\n" .'9 "未接",'."\n" .'10 "用户欠费",'."\n" .'11 "线路故障",'."\n" .'12 "呼叫失败"'."\n" .'30 "已拦截" '."\n" .'40 "单日呼叫次数受限"', 'type' => 'string', 'example' => '已接听', ], 'CallId' => [ 'title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '28dd74a4-30ec-43c0-9bec-272924c51eeb', ], 'CallType' => [ 'title' => '外呼类型', 'description' => '外呼类型 可选项:'."\n" .'2001:批量-预测外呼,2002:批量-AI外呼-不转人工,2003:批量-AI外呼-接通转人工,2004: 批量-AI外呼-智能转人工,2005:批量-语音通知', 'type' => 'integer', 'format' => 'int64', 'example' => '2001', ], 'CallStatus' => [ 'title' => '呼叫状态', 'description' => '呼叫状态 如1'."\n" .'当号码状态为1时,对应描述为:'."\n" .'-516 "外呼号码并发限制"'."\n" .'-515 "号码频次受限"'."\n" .'-514 "没有配置线路"'."\n" .'-513 "并发限制"'."\n" .'-512 "非外呼时间"'."\n" .'-511 "屏蔽区号"'."\n" .'-310 "等待分发"'."\n" .'-210 "取消呼叫(查还款失败)"'."\n" .'-110 "取消呼叫(已还款)"'."\n" .'-20 "座席未在线"'."\n" .'-19 "座席未接听"'."\n" .'-18 "呼叫座席失败"'."\n" .'-17 "取消呼叫"'."\n" .'-16 "超时未外呼"'."\n" .'-15 "获取语音网关信息失败"'."\n" .'-14 "MD5转手机号失败"'."\n" .'-13 "预缓存音频文件失败"'."\n" .'当号码状态为2时,对应描述为:'."\n" .'-12 "预缓存音频文件中"'."\n" .'-11 "等待预缓存音频文件"'."\n" .'-10 "未开始"'."\n" .'-9 "等待外呼"'."\n" .'-8 "呼叫中"'."\n" .'-7 "AI通话中"'."\n" .'-6 "分配坐席中"'."\n" .'-5 "人工通话中"'."\n" .'-4 "监听振铃中"'."\n" .'-3 "监听失败"'."\n" .'-2 "监听中"'."\n" .'当号码状态为3时,对应描述为:'."\n" .'1 "已接听",'."\n" .'2 "关机",'."\n" .'3 "空号",'."\n" .'4 "改号",'."\n" .'5 "停机",'."\n" .'6 "占线",'."\n" .'7 "拒接",'."\n" .'8 "无法接通",'."\n" .'9 "未接",'."\n" .'10 "用户欠费",'."\n" .'11 "线路故障",'."\n" .'12 "呼叫失败"'."\n" .'30 "已拦截" '."\n" .'40 "单日呼叫次数受限"', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ImportTime' => [ 'title' => '导入时间', 'description' => '导入时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2023-04-25 15:19:02', ], 'NumberDesc' => [ 'title' => '号码状态描述', 'description' => '号码状态描述 ,如“未能外呼”'."\n" .'1.未能外呼;'."\n" .'2.进行中外呼;'."\n" .'3.已完成外呼;', 'type' => 'string', 'example' => '未能外呼', ], 'Number' => [ 'title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '188******454', ], 'InterceptReason' => [ 'title' => '拦截原因', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截', ], 'NumberStatus' => [ 'title' => '号码状态', 'description' => '号码状态,如“未能外呼”'."\n" .'1.未能外呼;'."\n" .'2.进行中外呼;'."\n" .'3.已完成外呼;', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Tag' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => 'A', ], 'NumberMD5' => [ 'title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => 'cbe1b40f76f2cca4735954886b706ffa', ], ], ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1686279332221', ], 'Success' => [ 'description' => '表示是否调用成功。true:调用成功。 false:调用失败。', 'type' => 'boolean', 'example' => 'false', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"389b2d0a-37e2-406d-b576-1fc0827be46a\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 79,\\n \\"PageSize\\": 94,\\n \\"TotalPage\\": 10,\\n \\"PageNo\\": 100,\\n \\"List\\": [\\n {\\n \\"TaskId\\": 28,\\n \\"BatchId\\": 27,\\n \\"CallDesc\\": \\"已接听\\",\\n \\"CallId\\": \\"28dd74a4-30ec-43c0-9bec-272924c51eeb\\",\\n \\"CallType\\": 2001,\\n \\"CallStatus\\": 1,\\n \\"ImportTime\\": \\"2023-04-25 15:19:02\\",\\n \\"NumberDesc\\": \\"未能外呼\\",\\n \\"Number\\": \\"188******454\\",\\n \\"InterceptReason\\": \\"黑名单拦截\\",\\n \\"NumberStatus\\": 1,\\n \\"Tag\\": \\"A\\",\\n \\"NumberMD5\\": \\"cbe1b40f76f2cca4735954886b706ffa\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686279332221,\\n \\"Success\\": false\\n}","type":"json"}]', 'title' => '行业版-AI批量任务查询号码状态', 'description' => 'AI批量任务查询号码状态', ], 'EditTask' => [ 'summary' => '行业版-编辑任务。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '29', ], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ 'title' => '任务状态', 'description' => '任务状态 修改任务状态,2:开启;4:停止;'."\n" .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'title' => '任务名称', 'description' => '任务名称 修改任务名称,不能超过100个字符;'."\n" .'注:不传参视为不修改;', 'type' => 'string', 'required' => false, 'example' => '任务名称'."\n" ."\n", ], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => [ 'title' => '话术模板类型', 'description' => '话术模板类型 1:单模 版;2:智能话术策略模板;'."\n" .'注:不传参视为不修改', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'title' => '话术模板ID', 'description' => '话术模板ID 注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24', ], ], [ 'name' => 'MaxConcurrency', 'in' => 'query', 'schema' => [ 'title' => '并发数', 'description' => '并发数 修改并发数。默认为1,不可超过企业设置最高并发数;'."\n" .'注:不传参视为不修改', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '83', ], ], [ 'name' => 'RecallType', 'in' => 'query', 'schema' => [ 'title' => '重呼配置', 'description' => '重呼配置 可选值:1,2,3,默认为1; 1:不重呼;2:间隔重呼;3:定时重呼;'."\n" .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'CallTimeList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '外呼时间', 'description' => '外呼时间 格式举例:“8:30-12:00 13:30-19:00”则传[[8.5,12][13.5,19]];'."\n" .'注:不传参视为不修改;', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'CallTime' => [ 'description' => '外呼时间', 'type' => 'array', 'items' => [ 'description' => '外呼时间', 'type' => 'string', 'required' => false, 'example' => '8.5', ], 'required' => false, 'example' => '', ], ], 'required' => false, ], 'required' => false, 'example' => '', ], ], [ 'name' => 'RepeatInterval', 'in' => 'query', 'schema' => [ 'title' => '重呼间隔', 'description' => '重呼间隔 当重呼选项为2时,必填;单位为分钟,支持≥1的正整数'."\n" .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '91', ], ], [ 'name' => 'RepeatCount', 'in' => 'query', 'schema' => [ 'title' => '重呼次数', 'description' => '重呼次数 当重呼选项为2时,必填;支持≥1正整数'."\n" .'注:不传参视为不修改;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51', ], ], [ 'name' => 'RepeatTimes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '重呼时间', 'description' => '重呼时间', 'type' => 'array', 'items' => [ 'description' => '当重呼选项为3时,必填;格式为["8:00","9:00"],多个时间点用,隔开 可以选值穷举:'."\n" .'"7:00", "7:30", "8:00", "8:30", "9:00", "9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00","13:30", "14:00", "14:30", "15:00", "15:30", "16:00", "16:30", "17:00", "17:30", "18:00", "18:30", "19:00", "19:30", "20:00", "20:30", "21:00", "21:30", "22:00"'."\n" .'注:不传参视为不修改;', 'type' => 'string', 'required' => false, 'example' => '8:30', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'RecordPath', 'in' => 'query', 'schema' => [ 'title' => '录音地址', 'description' => '录音地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值', ], ], [ 'name' => 'PlaySleepVal', 'in' => 'query', 'schema' => [ 'title' => '播放间隔时长', 'description' => '播放间隔时长', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '29', ], ], [ 'name' => 'PlayTimes', 'in' => 'query', 'schema' => [ 'title' => '录音播放次数', 'description' => '录音播放次数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', ], ], [ 'name' => 'SendSmsPlan', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '短信发送规则', 'description' => '短信发送规则 设定挂机短信的发送规则,若为空,则视为不发送', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'IntentTags' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'array', 'items' => [ 'description' => '意向标签数组,大写,例如:["A", "B"]', 'type' => 'string', 'required' => false, 'example' => 'A', ], 'required' => false, 'example' => '', ], 'SmsTemplateId' => [ 'title' => '短信模板ID', 'description' => '短信模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], 'required' => false, ], 'required' => false, 'example' => '', ], ], [ 'name' => 'RepeatReason', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '重呼条件', 'description' => '重呼条件', 'type' => 'array', 'items' => [ 'description' => '可多选,不传时默认条件为[2, 3,4, 5,6, 8,9,10,11, 12] '."\n" .'重呼条件是指上一通外呼状态,如“占线”“空号”'."\n" .'注,重呼条件编码与描述对应:'."\n" ."\n\n" ."\n" .'2 "关机",'."\n" .'3 "空号",'."\n" .'4 "改号",'."\n" .'5 "停机",'."\n" .'6 "占线",'."\n" .'7 "拒接",'."\n" .'8 "无法接通",'."\n" .'9 "未接",'."\n" .'10 "用户欠费",'."\n" .'11 "线路故障",'."\n" .'12 "呼叫失败"'."\n" .'30 "已拦截"'."\n" .'40 "单日呼叫次数受限"', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'CallbackUrl', 'in' => 'query', 'schema' => [ 'title' => '回调地址', 'description' => '回调地址', 'type' => 'string', 'required' => false, 'example' => '示例值示例值示例值', ], ], [ 'name' => 'FlashSmsType', 'in' => 'query', 'schema' => [ 'title' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', 'description' => '发送闪信配置,默认为0,0不发送闪信.1发送闪信', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'default' => '', ], ], [ 'name' => 'FlashSmsTemplateId', 'in' => 'query', 'schema' => [ 'title' => '当发送闪信配置为1时,闪信模板ID必填', 'description' => '当发送闪信配置为1时,闪信模板ID必填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'default' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'type' => 'string', ], 'Message' => [ 'description' => '返回结果消息。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '5453cc9b-02bc-4dbb-9527-f28a9100b912', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '92', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1686225227338', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"5453cc9b-02bc-4dbb-9527-f28a9100b912\\",\\n \\"Model\\": {\\n \\"TaskId\\": 92\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1686225227338,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-编辑任务', 'description' => '行业版-编辑任务', ], 'ImportNumber' => [ 'summary' => '行业版-批量导入任务号码。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179241', 'abilityTreeNodes' => [ 'FEATUREaiccsDTMAFT', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'OutId', 'in' => 'query', 'schema' => [ 'description' => '用于幂等控制', 'type' => 'string', 'required' => true, 'example' => '示例值示例值', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '任务ID。 需提前确定', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '92', ], ], [ 'name' => 'Customers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '外呼客户,具体用户信息,如手机号、姓名等。限制数量最多1000个', 'type' => 'array', 'items' => [ 'description' => 'map', 'type' => 'object', 'properties' => [ 'Number' => [ 'description' => '手机明文号码,md5和number两者必传其中一个', 'type' => 'string', 'required' => false, 'example' => '13541251222', ], 'ClientUrl' => [ 'description' => '客户弹窗url,特殊字段', 'type' => 'string', 'required' => false, 'example' => 'http://test.com', ], 'Tag' => [ 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'NumberMD5' => [ 'description' => '电话号码MD5,md5和number两者必传其中一个', 'type' => 'string', 'required' => false, 'example' => '示例值', ], 'Properties' => [ 'description' => '需根据具体任务参数要求传输(总长度500个字符,多余的会被剔除)', 'type' => 'object', 'required' => false, 'example' => '{"testt":"123"}', ], ], 'required' => false, ], 'required' => true, 'example' => '92', ], ], [ 'name' => 'FailReturn', 'in' => 'query', 'schema' => [ 'description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '状态描述', ], 'ImportNum' => [ 'description' => '导入数量', 'type' => 'integer', 'format' => 'int64', 'example' => '26', ], 'BatchId' => [ 'description' => '批次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '54', ], 'Data' => [ 'description' => '错误信息', 'type' => 'string', 'example' => '示例', ], 'Code' => [ 'description' => '状态码。返回200表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '非必填 可能没有值', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '是否调用成功:'."\n" .'- **true**:调用成功。'."\n" .'- **false**:调用失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"Message\\": \\"状态描述\\",\\n \\"ImportNum\\": 26,\\n \\"BatchId\\": 54,\\n \\"Data\\": \\"示例\\",\\n \\"Code\\": 0\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-批量导入任务号码', ], 'ImportNumberV2' => [ 'summary' => '行业版-批量导入任务号码接口,提高导入数量限制。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '262750', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'OutId', 'in' => 'formData', 'schema' => [ 'description' => '必填! 外部流水号。', 'type' => 'string', 'required' => false, 'example' => '示例值', ], ], [ 'name' => 'TaskId', 'in' => 'formData', 'schema' => [ 'description' => '必填!任务id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '89', ], ], [ 'name' => 'Customers', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '必填! 外呼客户具体用户信息,如手机号、姓名等。限制数量最多1000个', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Number' => [ 'description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13800138000', ], 'ClientUrl' => [ 'description' => '客户弹窗url,特殊字段', 'type' => 'string', 'required' => false, 'example' => 'http://xxxx', ], 'Tag' => [ 'description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'test', ], 'NumberMD5' => [ 'description' => '加密号码,与号码字段两个必传一个', 'type' => 'string', 'required' => false, 'example' => 'frgwryh5q4y623532542', ], 'Properties' => [ 'description' => '参数 需提前约定', 'type' => 'object', 'required' => false, 'example' => '{"testt":"123"}', ], ], 'required' => false, ], 'required' => false, 'example' => '', ], ], [ 'name' => 'FailReturn', 'in' => 'formData', 'schema' => [ 'description' => '可选值:0,1,默认1。如导入的数据中有部分验证不通过数据:0表示导入验证成功的,返回失败的数据;1表示全部数据(包括验证成功及失败的)都不导入;', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '状态码的描述。', 'type' => 'string', 'example' => '成功'."\n", ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '响应消息', 'type' => 'string', 'example' => '示例值示例值示例值', ], 'ImportNum' => [ 'description' => '成功导入的数量', 'type' => 'integer', 'format' => 'int64', 'example' => '当前批次导入成功的数量', ], 'BatchId' => [ 'description' => '批次ID', 'type' => 'integer', 'format' => 'int64', 'example' => '导入号码时返回的批次号', ], 'Data' => [ 'description' => '错误信息', 'type' => 'string', 'example' => '如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{"number":"外呼号码为空或错误. 错误值:185207857231","尊称":"尊称错误,请传入中文。错误值:abc","还款金额":"值错误,请传入数字。错误值:a219.33","逾期天数":"值错误,请传入数字。错误值:今天中午十一点之前"}]}', ], 'Code' => [ 'description' => '状态码。返回200表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '200', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '98', ], 'Success' => [ 'description' => '是否调用成功:'."\n" ."\n" .'true:调用成功。'."\n" .'false:调用失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"成功\\\\n\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"Message\\": \\"示例值示例值示例值\\",\\n \\"ImportNum\\": 0,\\n \\"BatchId\\": 0,\\n \\"Data\\": \\"如failReturn传0,则返回该字段,可以为空;如为1,不返回。例:[{\\\\\\"number\\\\\\":\\\\\\"外呼号码为空或错误. 错误值:185207857231\\\\\\",\\\\\\"尊称\\\\\\":\\\\\\"尊称错误,请传入中文。错误值:abc\\\\\\",\\\\\\"还款金额\\\\\\":\\\\\\"值错误,请传入数字。错误值:a219.33\\\\\\",\\\\\\"逾期天数\\\\\\":\\\\\\"值错误,请传入数字。错误值:今天中午十一点之前\\\\\\"}]}\\",\\n \\"Code\\": 200\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 98,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-批量导入任务号码V2版本', ], 'Page' => [ 'summary' => '查询行业版-黑名单。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179243', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '号码列表', 'type' => 'array', 'items' => [ 'description' => '手机号码', 'type' => 'string', 'required' => false, 'example' => '15823099196', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '分页查询时设置的每页行数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。 ', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '97', ], 'PageSize' => [ 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20', ], 'TotalPage' => [ 'description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '5', ], 'PageNo' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'List' => [ 'description' => '详情列表', 'type' => 'array', 'items' => [ 'description' => 'map', 'type' => 'object', 'properties' => [ 'Number' => [ 'title' => '手机号码', 'description' => '手机号码', 'type' => 'string', 'example' => '13314206082', ], 'CreateTime' => [ 'title' => '添加时间', 'description' => '添加时间', 'type' => 'string', 'example' => ' 2020-03-06 10:10:10', ], 'NumberMD5' => [ 'title' => '手机号MD5', 'description' => '手机号MD5', 'type' => 'string', 'example' => 'e10adc3949ba59abbe56e057f20f883e', ], 'ExpirationTime' => [ 'title' => '过期时间', 'description' => '过期时间', 'type' => 'string', 'example' => '1', ], 'Remark' => [ 'title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => '备注', ], ], ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 97,\\n \\"PageSize\\": 20,\\n \\"TotalPage\\": 5,\\n \\"PageNo\\": 1,\\n \\"List\\": [\\n {\\n \\"Number\\": \\"13314206082\\",\\n \\"CreateTime\\": \\" 2020-03-06 10:10:10\\",\\n \\"NumberMD5\\": \\"e10adc3949ba59abbe56e057f20f883e\\",\\n \\"ExpirationTime\\": \\"1\\",\\n \\"Remark\\": \\"备注\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-分页查询黑名单', ], 'SmsTemplateCreate' => [ 'summary' => '行业版-添加短信模板。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '180596', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TemplateName', 'in' => 'query', 'schema' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'required' => true, 'example' => '模板', ], ], [ 'name' => 'Sign', 'in' => 'query', 'schema' => [ 'title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'required' => true, 'example' => 'ef2i29fsljf', ], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '模板类型,默认为1'."\n" .'1:普通短信模板', ], ], [ 'name' => 'Content', 'in' => 'query', 'schema' => [ 'title' => '短信内容', 'description' => '短信内容', 'type' => 'string', 'required' => true, 'example' => '短信内容,可增加变量,变量格式:{变量},需系统存在', ], ], [ 'name' => 'SmsType', 'in' => 'query', 'schema' => [ 'title' => '短信类型', 'description' => '短信类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '短信类型,默认为3'."\n" .'3:挂机短信'."\n" .'4:群发短信', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID,用于跟踪错误原因', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'string', 'example' => '成功', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": \\"成功\\",\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-添加短信模板', 'description' => '针对行业版短信模板创建', ], 'SmsTemplatePageList' => [ 'summary' => '行业版-短信模板列表查询。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '180597', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], ], 'parameters' => [ [ 'name' => 'PageNo', 'in' => 'query', 'schema' => [ 'title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '97', ], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需查询的模板类型'."\n" .'1:普通短信模板'."\n" .'2:智能短链模板', ], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '83', ], ], [ 'name' => 'SmsType', 'in' => 'query', 'schema' => [ 'title' => '短信类型', 'description' => '短信类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需要查询的短信类型'."\n" .'3:挂机短信'."\n" .'4:群发短信', ], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ 'title' => '模板状态', 'description' => '模板状态', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '需要查询的模板状态'."\n" .'1:待审核'."\n" .'2:审核中'."\n" .'3:审核不通过'."\n" .'4:可应用', ], ], [ 'name' => 'Sign', 'in' => 'query', 'schema' => [ 'title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'required' => false, 'example' => '114ah23m', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'PageSize' => [ 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '42', ], 'TotalPage' => [ 'description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '31', ], 'PageNo' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '53', ], 'List' => [ 'description' => '记录列表', 'type' => 'array', 'items' => [ 'description' => '记录', 'type' => 'object', 'properties' => [ 'Status' => [ 'title' => '模板状态', 'description' => '模板状态', 'type' => 'integer', 'format' => 'int64', 'example' => '1:待审核'."\n" .'2:审核中'."\n" .'3:审核不通过'."\n" .'4:可应用', ], 'SmsType' => [ 'title' => '短信类型', 'description' => '短信类型', 'type' => 'string', 'example' => '3:挂机短信'."\n" .'4:群发短信', ], 'Content' => [ 'title' => '短信内容', 'description' => '短信内容', 'type' => 'string', 'example' => '短信内容', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2021-09-26 11:34:59', ], 'TemplateName' => [ 'title' => '模板名称', 'description' => '模板名称', 'type' => 'string', 'example' => '短信模板10926001', ], 'Sign' => [ 'title' => '短信签名', 'description' => '短信签名', 'type' => 'string', 'example' => 'a234n', ], 'TemplateType' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1:普通短信模板'."\n" .'2:智能短链模板', ], 'Properties' => [ 'title' => '模板所需参数', 'description' => '模板所需参数', 'type' => 'string', 'example' => '“尊称,姓名,金额"', ], 'TemplateId' => [ 'title' => '模板ID', 'description' => '模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '67', ], 'ShortUrlTaskId' => [ 'title' => '智能短链ID', 'description' => '智能短链ID', 'type' => 'integer', 'format' => 'int64', 'example' => '46', ], ], ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '接口调用是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 42,\\n \\"TotalPage\\": 31,\\n \\"PageNo\\": 53,\\n \\"List\\": [\\n {\\n \\"Status\\": 0,\\n \\"SmsType\\": \\"3:挂机短信\\\\n4:群发短信\\",\\n \\"Content\\": \\"短信内容\\",\\n \\"CreateTime\\": \\"2021-09-26 11:34:59\\",\\n \\"TemplateName\\": \\"短信模板10926001\\",\\n \\"Sign\\": \\"a234n\\",\\n \\"TemplateType\\": 0,\\n \\"Properties\\": \\"“尊称,姓名,金额\\\\\\"\\",\\n \\"TemplateId\\": 67,\\n \\"ShortUrlTaskId\\": 46\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-短信模板列表查询', 'description' => '行业版短信模板列表查询', ], 'TaskCallChats' => [ 'summary' => '行业版-查询聊天记录。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '180600', 'abilityTreeNodes' => [ 'FEATUREaiccs3JFNGJ', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '决策系统中的任务编号,可以为空,其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '26', ], ], [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID', 'description' => '坐席ID,可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '72', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席标签', 'description' => '建议填写坐席在贵司业务系统唯一标识,用于查询对应agentId;可以为空;其中:taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', 'type' => 'string', 'required' => false, 'example' => 'AA', ], ], [ 'name' => 'CallId', 'in' => 'query', 'schema' => [ 'title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'required' => true, 'example' => '9b2eb6b8-7a27-4357-b5ec-104450086e24', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'array', 'items' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'FromNumber' => [ 'title' => '说话号码', 'description' => '说话号码,其中0为机器人', 'type' => 'string', 'example' => '138*****265', ], 'Content' => [ 'title' => '说话内容', 'description' => '说话内容', 'type' => 'string', 'example' => '你好,请问是a吗?', ], 'CreateTime' => [ 'title' => '说话时间', 'description' => '说话时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-13 14:56:46', ], ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"FromNumber\\": \\"138*****265\\",\\n \\"Content\\": \\"你好,请问是a吗?\\",\\n \\"CreateTime\\": \\"2022-01-13 14:56:46\\"\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-查询聊天记录', 'description' => '行业版查询聊天记录', 'requestParamsDescription' => 'taskId、agentId、agentTag必须一项有值;如果传多个值,以taskId > agentId > agentTag 优先级查询。只查1次优先值。', ], 'TaskCallInfo' => [ 'summary' => '行业版-获取任务外呼情况。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '示例值示例值', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '示例值示例值示例值', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'FinishTotal' => [ 'description' => '已完成外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '75', ], 'UnCallTotal' => [ 'description' => '未能外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '3', ], 'Total' => [ 'description' => '总外呼数', 'type' => 'integer', 'format' => 'int64', 'example' => '59', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '62', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"示例值示例值\\",\\n \\"RequestId\\": \\"示例值示例值示例值\\",\\n \\"Model\\": {\\n \\"FinishTotal\\": 75,\\n \\"UnCallTotal\\": 3,\\n \\"Total\\": 59\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 62,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-获取任务外呼情况', 'description' => '行业版-获取任务外呼情况', ], 'TaskCallList' => [ 'summary' => '行业版AI批量任务查询外呼记录。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93', ], ], [ 'name' => 'IntentTags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '意向标签', 'description' => '如“C”,则精准查询意向标签为C的数据;'."\n" .'若查询多个意向则["A","B","C”];', 'type' => 'array', 'items' => [ 'title' => '', 'description' => '意向标签', 'type' => 'string', 'required' => false, 'example' => '"A"', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'BatchId', 'in' => 'query', 'schema' => [ 'title' => '导入号码时返回的批次号', 'description' => '导入号码时返回的批次号', 'type' => 'string', 'required' => false, 'example' => '1', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '需要精确查询的号码,,支持批量 最大1000个号码', 'type' => 'array', 'items' => [ 'description' => '号码列表', 'type' => 'string', 'required' => false, 'example' => '158*****196', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'CallDate', 'in' => 'query', 'schema' => [ 'title' => '开始外呼时间', 'description' => '开始外呼日期,只可查询最近30天的日期,格式:2020-03-06 10:10:10', 'type' => 'string', 'required' => true, 'example' => '2022-01-25 00:00:00', ], ], [ 'name' => 'EndCallDate', 'in' => 'query', 'schema' => [ 'title' => '结束外呼时间', 'description' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10', 'type' => 'string', 'required' => true, 'example' => '2022-01-25 00:00:00', ], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => [ 'title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '39', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'title' => '每页外呼记录数,正整数,默认10000', 'description' => '每页外呼记录数,正整数,默认10000', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '97', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '80', ], 'PageSize' => [ 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '95', ], 'TotalPage' => [ 'description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '39', ], 'PageNo' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '62', ], 'List' => [ 'description' => '列表', 'type' => 'array', 'items' => [ 'description' => '记录', 'type' => 'object', 'properties' => [ 'AddWx' => [ 'title' => '加微', 'description' => '加微:可选值:0、1'."\n" .'0:不添加,1:添加', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'TaskId' => [ 'title' => '外呼任务ID', 'description' => '外呼任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '70', ], 'Keywords' => [ 'title' => '回复关键词', 'description' => '回复关键词', 'type' => 'string', 'example' => '好', ], 'AgentExtension' => [ 'title' => '坐席分机', 'description' => '坐席分机', 'type' => 'string', 'example' => '112', ], 'CallType' => [ 'title' => '外呼类型', 'description' => '外呼类型:可选项:'."\n" .'1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', 'type' => 'integer', 'format' => 'int64', 'example' => '1001', ], 'AnswerTime' => [ 'title' => '接通时间', 'description' => '通话接通时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25', ], 'IntentTag' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'string', 'example' => '“C”', ], 'TransferStatusCode' => [ 'title' => '转人工状态编码', 'description' => '转人工状态编码,如1,2,可以为空', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ImportTime' => [ 'title' => '导入时间', 'description' => '导入时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25', ], 'IndividualTag' => [ 'title' => '个性标签', 'description' => '个性标签:如"投诉,非本人",可以为空', 'type' => 'string', 'example' => 'A', ], 'Properties' => [ 'title' => '参数', 'description' => '导入号码时的参数值:json', 'type' => 'string', 'example' => '{\\"电话号码\\":\\"13100000000\\"}', ], 'StatusCode' => [ 'title' => '外呼状态编码', 'description' => '外呼状态编码,如1,2', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentSpeakingDuration' => [ 'title' => '人工通话时长', 'description' => '坐席通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '98', ], 'Remark' => [ 'title' => '备注', 'description' => '人工备注信息,如:'."\n" .'[{"加微信":"愿意","还款方式":["支付宝","人工"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":1,"opId":1,"opName":"企业A"},{"加微信":"愿意","还款方式":["支付宝"],"备注":"客户愿意最近1周内还款","createTime":"2020-03-10 10:00:00","opType":2,"opId":4,"opName":"老汤"}],注:如opType=1企业,2坐席,如坐席,opId为坐席ID', 'type' => 'string', 'example' => '备注内容', ], 'CallTimes' => [ 'title' => '呼叫次数', 'description' => '呼叫次数', 'type' => 'string', 'example' => '1', ], 'Number' => [ 'title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '138*****123', ], 'InterceptReason' => [ 'title' => '拦截原因', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截,灰名单拦截,异常号码拦截', ], 'IntentDescription' => [ 'title' => '意向说明', 'description' => '意向说明:如“确认本人,未承诺还款”', 'type' => 'string', 'example' => '如“确认本人,未承诺还款”', ], 'StatusDescription' => [ 'title' => '外呼状态描述', 'description' => '外呼状态描述', 'type' => 'string', 'example' => '外呼状态,如“已接听”“拒接”'."\n" .'注,转外呼状态编码与描述对应:'."\n" .'1 "已接听",'."\n" .'2 "关机",'."\n" .'3 "空号",'."\n" .'4 "改号",'."\n" .'5 "停机",'."\n" .'6 "占线",'."\n" .'7 "拒接",'."\n" .'8 "无法接通",'."\n" .'9 "未接",'."\n" .'10 "用户欠费",'."\n" .'11 "线路故障",'."\n" .'12 "呼叫失败"'."\n" .'30 "已拦截" '."\n" .'40 "单日呼叫次数受限"'."\n" .'50 "取消外呼-已转化" ', ], 'SpeakingDuration' => [ 'title' => 'AI通话时长', 'description' => '通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '45', ], 'Gateway' => [ 'title' => '外呼网关', 'description' => '外呼网关', 'type' => 'string', 'example' => '123', ], 'TransferStatus' => [ 'title' => '转人工状态', 'description' => '转人工状态', 'type' => 'string', 'example' => '转人工状态,可以为空,如未触发、分配坐席失败'."\n" .'注,转人工状态编码与状态对应:'."\n" .'0 "未触发",'."\n" .'1 "分配坐席失败",'."\n" .'2 "无空闲坐席分配",'."\n" .'10 "振铃未接听",'."\n" .'11 "振铃占线",'."\n" .'12 "振铃话机离线",'."\n" .'13 "振铃失败",'."\n" .'14 "监听失败",'."\n" .'20 "监听未接听",'."\n" .'30 "已接听",'."\n" .'31 "接听失败"', ], 'AgentId' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'example' => '87', ], 'TemplateId' => [ 'title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '66', ], 'AgentTag' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'example' => 'A', ], 'Status' => [ 'title' => '外呼状态', 'description' => '外呼状态', 'type' => 'string', 'example' => '未接、占线、拒接、用户欠费、线路故障、呼叫失败、已接听、无法接通、关机、停机、改号、空号、无效接通、已拦截、单日呼叫次数受限、取消外呼-已转化', ], 'CallId' => [ 'title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '9197ed9e-ceda-42a5-b683-823b23ef208e', ], 'BatchId' => [ 'title' => '批次ID', 'description' => '批次ID', 'type' => 'string', 'example' => '1', ], 'HangupTime' => [ 'title' => '挂断时间', 'description' => '通话挂断时间,格式:2019-01-09 14:14:19', 'type' => 'string', 'example' => '2022-01-26 18:58:25', ], 'CallBeginTime' => [ 'title' => '开始通话时间', 'description' => '开始通话时间,格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2022-01-26 18:58:25', ], 'RingTime' => [ 'title' => '振铃时长', 'description' => '振铃时长 单位毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '66', ], 'AgentSpeakingTime' => [ 'title' => '人工通话时长', 'description' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '0秒', ], 'AddWxStatus' => [ 'title' => '加微进度', 'description' => '加微进度', 'type' => 'string', 'example' => '可选值:已申请、加微成功', ], 'HangupType' => [ 'title' => '挂机方式', 'description' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'SpeakingTurns' => [ 'title' => '对话轮次', 'description' => '对话轮次', 'type' => 'string', 'example' => '0', ], 'Sms' => [ 'title' => '挂机短信', 'description' => '挂机短信', 'type' => 'string', 'example' => '1、2'."\n" .'1:发送,2:不发送', ], 'AnswerRecall' => [ 'title' => '是否接通重呼', 'description' => '是否接通重呼', 'type' => 'integer', 'format' => 'int64', 'example' => '可选值:0、1'."\n" .'0正常外呼,1接通重呼', ], 'Tag' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => '好', ], 'NumberMD5' => [ 'title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => '75916b635568954583783d', ], 'ChatRecord' => [ 'title' => '对话录音', 'description' => '对话录音', 'type' => 'string', 'example' => 'URL,可以为空', ], 'SpeakingTime' => [ 'title' => 'AI通话时长', 'description' => '通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '0秒', ], ], ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 80,\\n \\"PageSize\\": 95,\\n \\"TotalPage\\": 39,\\n \\"PageNo\\": 62,\\n \\"List\\": [\\n {\\n \\"AddWx\\": 0,\\n \\"TaskId\\": 70,\\n \\"Keywords\\": \\"好\\",\\n \\"AgentExtension\\": \\"112\\",\\n \\"CallType\\": 1001,\\n \\"AnswerTime\\": \\"2022-01-26 18:58:25\\",\\n \\"IntentTag\\": \\"“C”\\",\\n \\"TransferStatusCode\\": 1,\\n \\"ImportTime\\": \\"2022-01-26 18:58:25\\",\\n \\"IndividualTag\\": \\"A\\",\\n \\"Properties\\": \\"{\\\\\\\\\\\\\\"电话号码\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"13100000000\\\\\\\\\\\\\\"}\\",\\n \\"StatusCode\\": 1,\\n \\"AgentSpeakingDuration\\": 98,\\n \\"Remark\\": \\"备注内容\\",\\n \\"CallTimes\\": \\"1\\",\\n \\"Number\\": \\"138*****123\\",\\n \\"InterceptReason\\": \\"黑名单拦截,灰名单拦截,异常号码拦截\\",\\n \\"IntentDescription\\": \\"如“确认本人,未承诺还款”\\",\\n \\"StatusDescription\\": \\"外呼状态,如“已接听”“拒接”\\\\n注,转外呼状态编码与描述对应:\\\\n1 \\\\\\"已接听\\\\\\",\\\\n2 \\\\\\"关机\\\\\\",\\\\n3 \\\\\\"空号\\\\\\",\\\\n4 \\\\\\"改号\\\\\\",\\\\n5 \\\\\\"停机\\\\\\",\\\\n6 \\\\\\"占线\\\\\\",\\\\n7 \\\\\\"拒接\\\\\\",\\\\n8 \\\\\\"无法接通\\\\\\",\\\\n9 \\\\\\"未接\\\\\\",\\\\n10 \\\\\\"用户欠费\\\\\\",\\\\n11 \\\\\\"线路故障\\\\\\",\\\\n12 \\\\\\"呼叫失败\\\\\\"\\\\n30 \\\\\\"已拦截\\\\\\" \\\\n40 \\\\\\"单日呼叫次数受限\\\\\\"\\\\n50 \\\\\\"取消外呼-已转化\\\\\\" \\",\\n \\"SpeakingDuration\\": 45,\\n \\"Gateway\\": \\"123\\",\\n \\"TransferStatus\\": \\"转人工状态,可以为空,如未触发、分配坐席失败\\\\n注,转人工状态编码与状态对应:\\\\n0 \\\\\\"未触发\\\\\\",\\\\n1 \\\\\\"分配坐席失败\\\\\\",\\\\n2 \\\\\\"无空闲坐席分配\\\\\\",\\\\n10 \\\\\\"振铃未接听\\\\\\",\\\\n11 \\\\\\"振铃占线\\\\\\",\\\\n12 \\\\\\"振铃话机离线\\\\\\",\\\\n13 \\\\\\"振铃失败\\\\\\",\\\\n14 \\\\\\"监听失败\\\\\\",\\\\n20 \\\\\\"监听未接听\\\\\\",\\\\n30 \\\\\\"已接听\\\\\\",\\\\n31 \\\\\\"接听失败\\\\\\"\\",\\n \\"AgentId\\": 87,\\n \\"TemplateId\\": 66,\\n \\"AgentTag\\": \\"A\\",\\n \\"Status\\": \\"未接、占线、拒接、用户欠费、线路故障、呼叫失败、已接听、无法接通、关机、停机、改号、空号、无效接通、已拦截、单日呼叫次数受限、取消外呼-已转化\\",\\n \\"CallId\\": \\"9197ed9e-ceda-42a5-b683-823b23ef208e\\",\\n \\"BatchId\\": \\"1\\",\\n \\"HangupTime\\": \\"2022-01-26 18:58:25\\",\\n \\"CallBeginTime\\": \\"2022-01-26 18:58:25\\",\\n \\"RingTime\\": 66,\\n \\"AgentSpeakingTime\\": \\"0秒\\",\\n \\"AddWxStatus\\": \\"可选值:已申请、加微成功\\",\\n \\"HangupType\\": 1,\\n \\"SpeakingTurns\\": \\"0\\",\\n \\"Sms\\": \\"1、2\\\\n1:发送,2:不发送\\",\\n \\"AnswerRecall\\": 0,\\n \\"Tag\\": \\"好\\",\\n \\"NumberMD5\\": \\"75916b635568954583783d\\",\\n \\"ChatRecord\\": \\"URL,可以为空\\",\\n \\"SpeakingTime\\": \\"0秒\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-AI批量任务查询外呼记录', 'description' => '行业版AI批量任务查询外呼记录', 'requestParamsDescription' => '结束外呼时间,只可查一天的数据,开始外呼日期和结束外呼日期是同一天的不同时间点。 格式支持 2020-03-06 10:10:10', ], 'TaskCancelCall' => [ 'summary' => '行业版-任务取消外呼。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30', 'default' => '', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '号码列表', 'type' => 'array', 'items' => [ 'title' => '号码', 'description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13661109390', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '标签列表', 'type' => 'array', 'items' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'required' => false, 'example' => '', 'default' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'UnHandleNumbers' => [ 'title' => '错误手机号', 'description' => '未识别手机号列表', 'type' => 'array', 'items' => [ 'description' => '未识别的手机号', 'type' => 'string', 'example' => '13541251222,18665214444', ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13541251222,18665214444\\"\\n ]\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-任务取消外呼', ], 'TaskList' => [ 'summary' => '行业版查询任务列表。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', ], ], [ 'name' => 'LastCallTime', 'in' => 'query', 'schema' => [ 'title' => '最后外呼时间', 'description' => '最后外呼时间。', 'type' => 'string', 'required' => false, 'example' => '2023-04-05 12:11:11', ], ], [ 'name' => 'CreateTime', 'in' => 'query', 'schema' => [ 'title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'required' => false, 'example' => '2023-04-05 12:11:11', ], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ 'title' => '任务状态。1 未启用,2 启用中,4 已停止', 'description' => '任务状态,取值:'."\n" ."\n" .'- 2:已发布。'."\n" ."\n" .'- 4:停用。'."\n" ."\n" .'- 6:已删除。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{}', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => '成功'."\n", ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-****-1ECA-****-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果。', 'type' => 'array', 'items' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'Status' => [ 'title' => '任务状态', 'description' => '任务状态,取值:'."\n" ."\n" .'- 2:已发布。'."\n" ."\n" .'- 4:停用。'."\n" ."\n" .'- 6:已删除。', 'type' => 'integer', 'format' => 'int64', 'example' => '4', ], 'AllowDayOfWeek' => [ 'title' => '外呼时间', 'description' => '外呼时间,按周外呼,取值:'."\n" ."\n" .'- 1:周一。'."\n" ."\n" .'- 2:周二。'."\n" ."\n" .'- 3:周三。'."\n" ."\n" .'- 4:周四。'."\n" ."\n" .'- 5:周五。'."\n" ."\n" .'- 6:周六。'."\n" ."\n" .'- 7:周日。', 'type' => 'string', 'example' => '1,2,3', ], 'TaskId' => [ 'title' => '任务ID', 'description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '68', ], 'IntentTags' => [ 'title' => '意向标签列表', 'description' => '意向标签列表。', 'type' => 'array', 'items' => [ 'description' => '意向标签对象。', 'type' => 'object', 'properties' => [ 'IntentDescription' => [ 'title' => '意向标签描述', 'description' => '意向标签描述。', 'type' => 'string', 'example' => '满意', ], 'IntentTag' => [ 'title' => '意向标签ID', 'description' => '意向标签ID。', 'type' => 'string', 'example' => '123', ], ], ], 'example' => '', ], 'Priority' => [ 'title' => '优先任务', 'description' => '优先任务,可选值,取值:'."\n" ."\n" .'- 1:表示否。'."\n" ."\n" .'- 2:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11'."\n", ], 'CallType' => [ 'title' => '外呼类型', 'description' => '外呼类型,取值:'."\n" ."\n" .'- 1001:坐席-人工外呼。'."\n" ."\n" .'- 1002:坐席-AI外呼-不转人工。'."\n" ."\n" .'- 1003:坐席-AI外呼-接通转人工。'."\n" ."\n" .'- 1004:坐席-AI外呼-智能转人工。'."\n" ."\n" .'- 2001:批量-预测外呼。'."\n" ."\n" .'- 2002:批量-AI外呼-不转人工。'."\n" ."\n" .'- 2003:批量-AI外呼-接通转人工。'."\n" ."\n" .'- 2004:批量-AI外呼-智能转人工。'."\n" ."\n" .'- 2005:批量-语音通知。', 'type' => 'integer', 'format' => 'int64', 'example' => '1001', ], 'MaxConcurrency' => [ 'title' => '最大并发数', 'description' => '最大并发数。', 'type' => 'integer', 'format' => 'int64', 'example' => '95', ], 'PersonalityTags' => [ 'title' => '个性标签列表', 'description' => '个性标签列表。', 'type' => 'array', 'items' => [ 'description' => '个性标签。', 'type' => 'string', 'example' => 'AA', ], 'example' => '', ], 'SendSms' => [ 'title' => '发送短信', 'description' => '发送短信,取值:'."\n" ."\n" .'- 1:标识否。'."\n" ."\n" .'- 2:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ImportTime' => [ 'title' => '最近导入时间', 'description' => '最近导入时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11', ], 'Properties' => [ 'title' => '任务所需参数', 'description' => '任务所需参数。', 'type' => 'string', 'example' => '尊称,姓名,金额', ], 'FlashSmsTemplateName' => [ 'title' => '闪信模板名称', 'description' => '闪信模板名称。', 'type' => 'string', 'example' => '示例值', ], 'AllowCallTimeFormat' => [ 'title' => '外呼时间段格式化', 'description' => '外呼时间段格式化。', 'type' => 'string', 'example' => '9:00 ~ 12:00\\n13.5 ~ 20', ], 'LastCallTime' => [ 'title' => '最后外呼时间', 'description' => '最后外呼时间。', 'type' => 'string', 'example' => '2023-04-05 12:11:11', ], 'TaskName' => [ 'title' => '任务名称', 'description' => '任务名称。', 'type' => 'string', 'example' => '第一个外呼任务', ], 'RecallType' => [ 'title' => '自动重呼', 'description' => '自动重呼,取值:'."\n" ."\n" .'- 1:表示不重呼。'."\n" ."\n" .'- 2:表示间隔重呼。'."\n" ."\n" .'- 3:表示定时重呼。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TemplateName' => [ 'title' => '话术模板名称', 'description' => '话术模板名称。', 'type' => 'string', 'example' => '第一个话术', ], 'SmsName' => [ 'title' => '短信模板', 'description' => '短信模板。', 'type' => 'string', 'example' => '短信02np', ], 'AllowCallTime' => [ 'title' => '外呼时间段', 'description' => '外呼时间段。', 'type' => 'string', 'example' => '[[9,12],[[13.5,20]]]', ], 'FlashSmsTemplateId' => [ 'title' => '闪信模板id', 'description' => '闪信模板ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '99', ], 'TemplateId' => [ 'title' => '话术模板Id', 'description' => '话术模板ID。', 'type' => 'string', 'example' => '123', ], 'InvalidReCall' => [ 'title' => '接通重呼次数', 'description' => '接通重呼次数,取值:'."\n" ."\n" .'- 1:表示不重呼。'."\n" ."\n" .'- 2:表示重呼。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'FlashSmsType' => [ 'title' => '发送闪信配置,可选0,1;0表示否,1表示是', 'description' => '发送闪信配置,取值:'."\n" ."\n" .'- 0:表示否。'."\n" ."\n" .'- 1:表示是。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '80', ], 'Success' => [ 'description' => '表示是否调用成功,取值:'."\n" ."\n" .'- true:调用成功。'."\n" ."\n" .'- false:调用失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"{}\\",\\n \\"Message\\": \\"成功\\\\n\\",\\n \\"RequestId\\": \\"8EFC6D10-****-1ECA-****-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"Status\\": 4,\\n \\"AllowDayOfWeek\\": \\"1,2,3\\",\\n \\"TaskId\\": 68,\\n \\"IntentTags\\": [\\n {\\n \\"IntentDescription\\": \\"满意\\",\\n \\"IntentTag\\": \\"123\\"\\n }\\n ],\\n \\"Priority\\": 1,\\n \\"CreateTime\\": \\"2023-04-05 12:11:11\\\\n\\",\\n \\"CallType\\": 1001,\\n \\"MaxConcurrency\\": 95,\\n \\"PersonalityTags\\": [\\n \\"AA\\"\\n ],\\n \\"SendSms\\": 1,\\n \\"ImportTime\\": \\"2023-04-05 12:11:11\\",\\n \\"Properties\\": \\"尊称,姓名,金额\\",\\n \\"FlashSmsTemplateName\\": \\"示例值\\",\\n \\"AllowCallTimeFormat\\": \\"9:00 ~ 12:00\\\\\\\\n13.5 ~ 20\\",\\n \\"LastCallTime\\": \\"2023-04-05 12:11:11\\",\\n \\"TaskName\\": \\"第一个外呼任务\\",\\n \\"RecallType\\": 1,\\n \\"TemplateName\\": \\"第一个话术\\",\\n \\"SmsName\\": \\"短信02np\\",\\n \\"AllowCallTime\\": \\"[[9,12],[[13.5,20]]]\\",\\n \\"FlashSmsTemplateId\\": 99,\\n \\"TemplateId\\": \\"123\\",\\n \\"InvalidReCall\\": 1,\\n \\"FlashSmsType\\": 1\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 80,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版查询任务列表', 'description' => '行业版查询任务列表。', ], 'TaskRecoverCall' => [ 'summary' => '行业版-任务恢复外呼'."\n" .'针对任务取消的号码,可通过此接口恢复,重新加入外呼队列中等待外呼。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93', ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', 'items' => [ 'description' => '标签', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', 'items' => [ 'description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13541251222,18665214444', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'BeginImportTime', 'in' => 'query', 'schema' => [ 'title' => '查询开始导入时间', 'description' => '查询开始导入时间', 'type' => 'string', 'required' => false, 'example' => '"2023-01-09 18:58:19"', ], ], [ 'name' => 'EndImportTime', 'in' => 'query', 'schema' => [ 'title' => '查询结束导入时间', 'description' => '查询结束导入时间', 'type' => 'string', 'required' => false, 'example' => '"2023-01-09 18:58:19"', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'example' => '无内容', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-任务恢复外呼', ], 'TemplateList' => [ 'summary' => '行业版话术模板列表。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'title' => '必须空参', 'description' => '必须空参', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '9', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'array', 'items' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'IntentTags' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'array', 'items' => [ 'title' => '', 'description' => '{'."\n" .' "intentDescription": "已成为客户",'."\n" .' "intentTag": "A"'."\n" .' }', 'type' => 'object', 'example' => '{'."\n" .' "intentDescription": "已成为客户",'."\n" .' "intentTag": "A"'."\n" .' }', ], 'example' => '', ], 'TemplateName' => [ 'title' => '话术模板名称', 'description' => '话术模板名称', 'type' => 'string', 'example' => '模板', ], 'PersonalityTags' => [ 'title' => '个性标签', 'description' => '个性标签', 'type' => 'array', 'items' => [ 'description' => '标签', 'type' => 'string', 'example' => '标签', ], 'example' => '', ], 'TemplateType' => [ 'title' => '模板类型', 'description' => '模板类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1:单模版;2:智能话术策略模板。', ], 'Properties' => [ 'title' => '话术所需参数', 'description' => '话术所需参数', 'type' => 'string', 'example' => '"尊称,姓名,金额"', ], 'TemplateId' => [ 'title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '59', ], ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '表示是否调用成功。true:调用成功。false:调用失败。', 'type' => 'boolean', 'example' => 'false', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": [\\n {\\n \\"IntentTags\\": [\\n {\\n \\"intentDescription\\": \\"已成为客户\\",\\n \\"intentTag\\": \\"A\\"\\n }\\n ],\\n \\"TemplateName\\": \\"模板\\",\\n \\"PersonalityTags\\": [\\n \\"标签\\"\\n ],\\n \\"TemplateType\\": 0,\\n \\"Properties\\": \\"\\\\\\"尊称,姓名,金额\\\\\\"\\",\\n \\"TemplateId\\": 59\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": false\\n}","type":"json"}]', 'title' => '行业版话术模板列表', 'description' => '行业版话术模板列表', 'requestParamsDescription' => 'TemplateId 无效入参,不需要填写,由于镇远元平台必须有入参,此参数仅做占位符', ], 'UpdateAgentStatus' => [ 'summary' => '行业版-更新坐席状态。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '58', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abac', ], ], [ 'name' => 'AgentStatus', 'in' => 'query', 'schema' => [ 'title' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', 'description' => '坐席状态 1:在线;2:忙碌;3:小休;4:离线', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'example' => '无内容', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-更新坐席状态', ], 'UpdateTaskCustomer' => [ 'summary' => '行业版-更新任务号码参数。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '59', ], ], [ 'name' => 'Customers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '外呼客户', 'description' => '外呼客户', 'type' => 'array', 'items' => [ 'description' => '号码详情', 'type' => 'object', 'properties' => [ 'Number' => [ 'title' => '电话号码', 'description' => '电话号码', 'type' => 'string', 'required' => false, 'example' => '13661109390', ], 'Cancel' => [ 'title' => '是否取消外呼 0否,1是', 'description' => '是否取消外呼 0否,1是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', ], 'Tag' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'Properties' => [ 'title' => '需根据具体任务参数要求传输', 'description' => '需根据具体任务参数要求传输', 'type' => 'object', 'required' => false, 'example' => '{"test":"234"}', ], ], 'required' => false, ], 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => '成功', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2'."\n", ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'UnHandleNumbers' => [ 'title' => '错误手机列表', 'description' => '未识别的手机号列表', 'type' => 'array', 'items' => [ 'description' => '未识别的手机号', 'type' => 'string', 'example' => '13661109390', ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回0表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1683440860035', ], 'Success' => [ 'description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"8EFC6D10-307B-1ECA-A8C6-7CBDF776AAD2\\\\n\\",\\n \\"Model\\": {\\n \\"UnHandleNumbers\\": [\\n \\"13661109390\\"\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 1683440860035,\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', 'title' => '行业版-更新任务号码参数', ], 'QuickAddTask' => [ 'summary' => '快速创建任务接口', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'title' => '任务名称', 'description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => 'a', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'title' => '任务启动日期', 'description' => '任务启动日期', 'type' => 'string', 'required' => false, 'example' => '2019-04-30', ], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => [ 'title' => '话术模板类型', 'description' => '话术模板类型。不填默认1。'."\n" ."\n" .'- 1:单模版;'."\n" .'- 2:智能话术策略模板。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'title' => '话术模板ID,如果不传则使用被复制任务的话术模板', 'description' => '话术模板ID,如果不传则使用被复制任务的话术模板', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'SmsTemplateId', 'in' => 'query', 'schema' => [ 'title' => '短信模板ID', 'description' => '短信模板ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'ReferenceTaskId', 'in' => 'query', 'schema' => [ 'title' => '被复制任务ID', 'description' => '被复制任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', ], ], [ 'name' => 'AgentGroupId', 'in' => 'query', 'schema' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'CallTimeList', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '外呼时间', 'description' => '外呼时间', 'type' => 'array', 'items' => [ 'title' => '外呼时间', 'description' => '外呼时间', 'type' => 'object', 'properties' => [ 'CallTime' => [ 'title' => '外呼时间', 'description' => '外呼时间', 'type' => 'array', 'items' => [ 'title' => '外呼时间', 'description' => '外呼时间', 'type' => 'string', 'required' => false, 'example' => '8.5', ], 'required' => false, 'example' => '', ], ], 'required' => false, ], 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '任务id', 'description' => '任务id', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '77', ], 'Success' => [ 'description' => '接口调用是否成功。'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。'."\n", 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"TaskId\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 77,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-快速创建任务接口', ], 'AddAgent' => [ 'summary' => '创建坐席', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Account', 'in' => 'query', 'schema' => [ 'title' => '坐席账号名(必须唯一)', 'description' => '坐席账号名(必须唯一)', 'type' => 'string', 'required' => true, 'example' => 'seat_001', ], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => [ 'title' => '坐席账号密码 (可以跟分机密码一致)', 'description' => '坐席账号密码 (可以跟分机密码一致)', 'type' => 'string', 'required' => true, 'example' => 'gwegwe23t32', ], ], [ 'name' => 'ExtensionPwd', 'in' => 'query', 'schema' => [ 'title' => '分机密码', 'description' => '分机密码', 'type' => 'string', 'required' => true, 'example' => 'gwegwe23t32', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'title' => '坐席名称', 'description' => '坐席名称', 'type' => 'string', 'required' => true, 'example' => 'xxx', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '合作方唯一标识', 'description' => '合作方唯一标识', 'type' => 'string', 'required' => false, 'example' => 'abc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回结果消息', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'object', 'properties' => [ 'AgentId' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '82', ], 'Success' => [ 'description' => '接口调用是否成功。'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"AgentId\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 82,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-创建坐席', 'description' => '创建坐席接口', ], 'QueryAgentInfo' => [ 'summary' => '查询坐席具体信息', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID', 'description' => '坐席ID 可以为空;其中: agentId、agentTag必须一项有值;如'."\n" .'果传多个值,以agentId > agentTag 优先级查询。只查1次优先'."\n" .'值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席标签', 'description' => '坐席标签。建议填写坐席在贵司业务系统唯一标识,用于查询对应agentId;'."\n" .'可以为空;其中: agentId、agentTag必须一项有值;如果传多个'."\n" .'值,以agentId > agentTag 优先级查询。只查1次优先值', 'type' => 'string', 'required' => false, 'example' => '"1"', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'Access Denied', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'Account' => [ 'title' => '坐席账号', 'description' => '坐席账号', 'type' => 'string', 'example' => 'a', ], 'WsRegisterAddress' => [ 'title' => 'WebSocket分机注册地址', 'description' => 'WebSocket分机注册地址', 'type' => 'string', 'example' => 'a', ], 'AgentExtension' => [ 'title' => '坐席分机号', 'description' => '坐席分机号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2026-11-11 11:11:11', ], 'AgentGroupIds' => [ 'title' => '坐席组ID列表', 'description' => '坐席组ID列表', 'type' => 'array', 'items' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123', ], 'example' => '', ], 'WsProtocol' => [ 'title' => 'WebSocket分机注册协议', 'description' => 'WebSocket分机注册协议', 'type' => 'string', 'example' => 'b', ], 'AgentGroupList' => [ 'title' => '坐席组列表', 'description' => '坐席组列表', 'type' => 'array', 'items' => [ 'title' => '坐席组', 'description' => '坐席组', 'type' => 'object', 'properties' => [ 'GroupName' => [ 'title' => '坐席组名称', 'description' => '坐席组名称', 'type' => 'string', 'example' => 'a', ], 'GroupId' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], 'example' => '', ], 'Name' => [ 'title' => '坐席名称', 'description' => '坐席名称', 'type' => 'string', 'example' => 'b', ], 'Active' => [ 'title' => '账号启用状态,0-停用,1-启用,默认1', 'description' => '账号启用状态,0-停用,1-启用,默认1', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentStatus' => [ 'title' => '坐席状态,1:在线;2:忙碌;3:小休;4:离线', 'description' => '坐席状态,1:在线;2:忙碌;3:小休;4:离线', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ExtensionPwd' => [ 'title' => '分机密码', 'description' => '分机密码', 'type' => 'string', 'example' => 'a', ], 'ExtensionServer' => [ 'title' => '分机注册地址', 'description' => '分机注册地址', 'type' => 'string', 'example' => 'b', ], 'AgentId' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentTag' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'example' => 'c', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '17', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"Access Denied\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"Account\\": \\"a\\",\\n \\"WsRegisterAddress\\": \\"a\\",\\n \\"AgentExtension\\": 1,\\n \\"CreateTime\\": \\"2026-11-11 11:11:11\\",\\n \\"AgentGroupIds\\": [\\n 123\\n ],\\n \\"WsProtocol\\": \\"b\\",\\n \\"AgentGroupList\\": [\\n {\\n \\"GroupName\\": \\"a\\",\\n \\"GroupId\\": 1\\n }\\n ],\\n \\"Name\\": \\"b\\",\\n \\"Active\\": 1,\\n \\"AgentStatus\\": 1,\\n \\"ExtensionPwd\\": \\"a\\",\\n \\"ExtensionServer\\": \\"b\\",\\n \\"AgentId\\": 1,\\n \\"AgentTag\\": \\"c\\"\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 17,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-查询坐席具体信息', 'description' => '查询坐席具体信息', ], 'AddAgentGroup' => [ 'summary' => '创建坐席组', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentGroupName', 'in' => 'query', 'schema' => [ 'title' => '坐席组名称,不能为空且最大长度为20个字符', 'description' => '坐席组名称,不能为空且最大长度为20个字符', 'type' => 'string', 'required' => true, 'example' => 'abc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '鉴权失败原因', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回结果消息。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求ID,标识这次请求,如果出现问题,可以通过RequestId找到这次请求的相关记录来进行排错。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'AgentGroupName' => [ 'title' => '坐席组名称', 'description' => '坐席组名称', 'type' => 'string', 'example' => 'example', ], 'CreateTime' => [ 'title' => '创建坐席组的时间', 'description' => '创建坐席组的时间', 'type' => 'string', 'example' => 'example', ], 'AgentGroupId' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'example' => '48', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '40', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"AgentGroupName\\": \\"example\\",\\n \\"CreateTime\\": \\"example\\",\\n \\"AgentGroupId\\": 48\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 40,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-创建坐席组', 'description' => '创建坐席组接口', ], 'JoinAgentGroup' => [ 'summary' => '绑定坐席组', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentGroupId', 'in' => 'query', 'schema' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', ], ], [ 'name' => 'AgentIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '坐席ID列表', 'description' => '坐席ID列表', 'type' => 'array', 'items' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '111', ], 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求的ID,用于定位日志,排查问题。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'example' => 'example', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '30', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 30,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-绑定坐席组', 'description' => '绑定坐席组', ], 'QuitAgentGroup' => [ 'summary' => '解绑坐席组', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentGroupId', 'in' => 'query', 'schema' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '60', ], ], [ 'name' => 'AgentIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '坐席ID列表', 'description' => '坐席ID列表', 'type' => 'array', 'items' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '111', ], 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '鉴权失败原因', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求的ID,用于定位日志,排查问题', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'example' => 'example', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '15', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。'."\n", 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 15,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-解绑坐席组', 'description' => '解绑坐席组', ], 'AgentGroupPage' => [ 'summary' => '坐席组分页查询', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentGroupId', 'in' => 'query', 'schema' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PageNum', 'in' => 'query', 'schema' => [ 'title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'title' => '分页数量', 'description' => '分页数量', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '鉴权失败原因', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回消息。', 'type' => 'string', 'example' => 'a', ], 'RequestId' => [ 'description' => '请求ID。用于定位日志,排查问题。'."\n", 'type' => 'string', 'example' => '12345', ], 'Model' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'Pages' => [ 'description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '82', ], 'Size' => [ 'description' => '每页条数', 'type' => 'integer', 'format' => 'int64', 'example' => '15', ], 'Total' => [ 'description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12', ], 'Current' => [ 'description' => '当前页数', 'type' => 'integer', 'format' => 'int64', 'example' => '62', ], 'Records' => [ 'description' => '返回数据对象', 'type' => 'array', 'items' => [ 'description' => '返回数据对象', 'type' => 'object', 'properties' => [ 'AgentGroupName' => [ 'title' => '坐席组名称', 'description' => '坐席组名称', 'type' => 'string', 'example' => 'a', ], 'CreateTime' => [ 'title' => '创建坐席组的时间', 'description' => '创建坐席组的时间', 'type' => 'string', 'example' => '2026-01-01 11:11:11', ], 'AgentIds' => [ 'title' => '坐席组下的坐席id列表', 'description' => '坐席组下的坐席id列表', 'type' => 'array', 'items' => [ 'title' => '坐席组下的坐席id', 'description' => '坐席组下的坐席id', 'type' => 'integer', 'format' => 'int64', 'example' => '50022260', ], 'example' => '', ], 'AgentGroupId' => [ 'title' => '坐席组ID', 'description' => '坐席组ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '71', ], 'Success' => [ 'description' => '接口调用是否成功。'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"a\\",\\n \\"RequestId\\": \\"12345\\",\\n \\"Model\\": {\\n \\"Pages\\": 82,\\n \\"Size\\": 15,\\n \\"Total\\": 12,\\n \\"Current\\": 62,\\n \\"Records\\": [\\n {\\n \\"AgentGroupName\\": \\"a\\",\\n \\"CreateTime\\": \\"2026-01-01 11:11:11\\",\\n \\"AgentIds\\": [\\n 50022260\\n ],\\n \\"AgentGroupId\\": 1\\n }\\n ]\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 71,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-坐席组分页查询', 'description' => '坐席组分页查询', ], 'AgentCallList' => [ 'summary' => '坐席外呼查询外呼记录', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID', 'description' => '坐席ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'required' => false, 'example' => 'abcd', ], ], [ 'name' => 'Numbers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码列表', 'description' => '号码列表', 'type' => 'array', 'items' => [ 'title' => '号码', 'description' => '号码', 'type' => 'string', 'required' => false, 'example' => '13541251222', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'NumberMD5s', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '号码MD5列表', 'description' => '号码MD5列表', 'type' => 'array', 'items' => [ 'title' => '号码MD5', 'description' => '号码MD5', 'type' => 'string', 'required' => false, 'example' => 'abcd', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户自定义标签列表', 'description' => '用户自定义标签列表', 'type' => 'array', 'items' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'required' => false, 'example' => 'tag1', ], 'required' => false, 'example' => '', ], ], [ 'name' => 'CallDate', 'in' => 'query', 'schema' => [ 'title' => '开始外呼时间', 'description' => '开始外呼时间', 'type' => 'string', 'required' => true, 'example' => '2020-03-06 10:10:10', ], ], [ 'name' => 'EndCallDate', 'in' => 'query', 'schema' => [ 'title' => '结束外呼时间', 'description' => '结束外呼时间', 'type' => 'string', 'required' => true, 'example' => '2020-03-07 10:10:10', ], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => [ 'title' => '页数', 'description' => '页数', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '7', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'title' => '每页外呼记录数', 'description' => '每页外呼记录数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '鉴权失败原因', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回结果消息。', 'type' => 'string', 'example' => '示例值', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '示例值', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27', ], 'PageSize' => [ 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '40', ], 'TotalPage' => [ 'description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '49', ], 'PageNo' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '44', ], 'List' => [ 'description' => '记录', 'type' => 'array', 'items' => [ 'description' => '记录', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '外呼任务ID', 'description' => '外呼任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentExtension' => [ 'title' => '坐席分机', 'description' => '坐席分机', 'type' => 'string', 'example' => 'a', ], 'Keywords' => [ 'title' => '回复关键词', 'description' => '回复关键词', 'type' => 'string', 'example' => '如链接,利息', ], 'CallType' => [ 'title' => '可选项:1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', 'description' => '可选项:1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工;', 'type' => 'integer', 'format' => 'int64', 'example' => '1001', ], 'AnswerTime' => [ 'title' => '接通时间 格式:2019-11-23 14:47:06', 'description' => '接通时间 格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2019-11-23 14:47:06', ], 'IntentTag' => [ 'title' => '意向标签, 如“C”', 'description' => '意向标签, 如“C”', 'type' => 'string', 'example' => 'C', ], 'TransferStatusCode' => [ 'title' => '转人工状态编码', 'description' => '转人工状态编码', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'ImportTime' => [ 'title' => '导入时间,格式:2019-11-23 14:47:06', 'description' => '导入时间,格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2019-11-23 14:47:06', ], 'IndividualTag' => [ 'title' => '个性标签', 'description' => '个性标签', 'type' => 'string', 'example' => '如投诉,非本人', ], 'Properties' => [ 'title' => '导入号码时的参数值', 'description' => '导入号码时的参数值', 'type' => 'string', 'example' => '{"电话号码":"13100000000"}', ], 'StatusCode' => [ 'title' => '外呼状态编码', 'description' => '外呼状态编码', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentSpeakingDuration' => [ 'title' => '坐席通话时长,单位:秒', 'description' => '坐席通话时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Remark' => [ 'title' => '人工备注信息', 'description' => '人工备注信息', 'type' => 'string', 'example' => 'abcd', ], 'Number' => [ 'title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => '1', ], 'InterceptReason' => [ 'title' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'description' => '拦截原因 当状态为已拦截时,可选值:黑名单拦截,灰名单拦截,异常号码拦截', 'type' => 'string', 'example' => '黑名单拦截', ], 'IntentDescription' => [ 'title' => '意向说明 如:确认本人,未承诺还款', 'description' => '意向说明 如:确认本人,未承诺还款', 'type' => 'string', 'example' => '如:确认本人', ], 'StatusDescription' => [ 'title' => '外呼状态,如“已接听”“拒接”,转外呼状态编码与描述对应 1-已接听,2-关机', 'description' => '外呼状态,如“已接听”“拒接”,转外呼状态编码与描述对应 1-已接听,2-关机', 'type' => 'string', 'example' => '已接听', ], 'SpeakingDuration' => [ 'title' => '通话时长 单位:秒', 'description' => '通话时长 单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TransferStatus' => [ 'title' => '转人工状态 0-未触发', 'description' => '转人工状态 0-未触发', 'type' => 'string', 'example' => '未触发', ], 'AgentId' => [ 'title' => '分配坐席ID', 'description' => '分配坐席ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TemplateId' => [ 'title' => 'AI话术ID', 'description' => 'AI话术ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentTag' => [ 'title' => '坐席标签', 'description' => '坐席标签', 'type' => 'string', 'example' => 'a', ], 'BatchId' => [ 'title' => '导入号码时返回的批次号', 'description' => '导入号码时返回的批次号', 'type' => 'string', 'example' => '1', ], 'CallId' => [ 'title' => '外呼ID', 'description' => '外呼ID', 'type' => 'string', 'example' => '1', ], 'HangupTime' => [ 'title' => '挂断时间 格式:2019-11-23 14:47:06', 'description' => '挂断时间 格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2019-11-23 14:47:06', ], 'CallBeginTime' => [ 'title' => '开始通话时间, 格式:2019-11-23 14:47:06', 'description' => '开始通话时间, 格式:2019-11-23 14:47:06', 'type' => 'string', 'example' => '2019-11-23 14:47:06', ], 'RingTime' => [ 'title' => '振铃时长 单位:毫秒', 'description' => '振铃时长 单位:毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AgentSpeakingTime' => [ 'title' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'description' => '坐席通话时长,单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '1', ], 'HangupType' => [ 'title' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', 'description' => '挂机方式 AI挂机1,坐席挂机2,客户挂机3', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'SpeakingTurns' => [ 'title' => '对话轮次', 'description' => '对话轮次', 'type' => 'string', 'example' => '1', ], 'Sms' => [ 'title' => '挂机短信 1:发送,2:不发送', 'description' => '挂机短信 1:发送,2:不发送', 'type' => 'string', 'example' => '1', ], 'Tag' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => '1', ], 'NumberMD5' => [ 'title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => '1', ], 'ChatRecord' => [ 'title' => '对话录音', 'description' => '对话录音', 'type' => 'string', 'example' => 'URL', ], 'SpeakingTime' => [ 'title' => '通话时长 单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'description' => '通话时长 单位:大于1分钟,显示分钟秒,小于1分钟,显示秒', 'type' => 'string', 'example' => '1', ], 'TransferTime' => [ 'title' => '转接人工时间', 'description' => '转接人工时间', 'type' => 'string', 'example' => '2019-01-09 14:14:19', ], ], ], 'example' => '', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '89', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"示例值\\",\\n \\"RequestId\\": \\"示例值\\",\\n \\"Model\\": {\\n \\"TotalCount\\": 27,\\n \\"PageSize\\": 40,\\n \\"TotalPage\\": 49,\\n \\"PageNo\\": 44,\\n \\"List\\": [\\n {\\n \\"TaskId\\": 1,\\n \\"AgentExtension\\": \\"a\\",\\n \\"Keywords\\": \\"如链接,利息\\",\\n \\"CallType\\": 1001,\\n \\"AnswerTime\\": \\"2019-11-23 14:47:06\\",\\n \\"IntentTag\\": \\"C\\",\\n \\"TransferStatusCode\\": 0,\\n \\"ImportTime\\": \\"2019-11-23 14:47:06\\",\\n \\"IndividualTag\\": \\"如投诉,非本人\\",\\n \\"Properties\\": \\"{\\\\\\"电话号码\\\\\\":\\\\\\"13100000000\\\\\\"}\\",\\n \\"StatusCode\\": 1,\\n \\"AgentSpeakingDuration\\": 1,\\n \\"Remark\\": \\"abcd\\",\\n \\"Number\\": \\"1\\",\\n \\"InterceptReason\\": \\"黑名单拦截\\",\\n \\"IntentDescription\\": \\"如:确认本人\\",\\n \\"StatusDescription\\": \\"已接听\\",\\n \\"SpeakingDuration\\": 1,\\n \\"TransferStatus\\": \\"未触发\\",\\n \\"AgentId\\": 1,\\n \\"TemplateId\\": 1,\\n \\"AgentTag\\": \\"a\\",\\n \\"BatchId\\": \\"1\\",\\n \\"CallId\\": \\"1\\",\\n \\"HangupTime\\": \\"2019-11-23 14:47:06\\",\\n \\"CallBeginTime\\": \\"2019-11-23 14:47:06\\",\\n \\"RingTime\\": 1,\\n \\"AgentSpeakingTime\\": \\"1\\",\\n \\"HangupType\\": 1,\\n \\"SpeakingTurns\\": \\"1\\",\\n \\"Sms\\": \\"1\\",\\n \\"Tag\\": \\"1\\",\\n \\"NumberMD5\\": \\"1\\",\\n \\"ChatRecord\\": \\"URL\\",\\n \\"SpeakingTime\\": \\"1\\",\\n \\"TransferTime\\": \\"2019-01-09 14:14:19\\"\\n }\\n ]\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 89,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-坐席外呼查询外呼记录', 'description' => '坐席外呼查询外呼记录', ], 'AgentImportNumber' => [ 'summary' => '坐席外呼导入号码', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'OutId', 'in' => 'query', 'schema' => [ 'title' => '请求id,具有唯一性,用来做请求幂等处理,一个请求id有效期10分钟。不传则不做幂等处理', 'description' => '请求id,具有唯一性,用来做请求幂等处理,一个请求id有效期10分钟。不传则不做幂等处理', 'type' => 'string', 'required' => false, 'example' => '1asgfh', ], ], [ 'name' => 'AgentId', 'in' => 'query', 'schema' => [ 'title' => '坐席ID,可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', 'description' => '坐席ID,可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'AgentTag', 'in' => 'query', 'schema' => [ 'title' => '坐席唯一标识(创建坐席时的用户唯一标识),可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', 'description' => '坐席唯一标识(创建坐席时的用户唯一标识),可以为空,但agentId与agentTag必须其中1个有值。用于查询对应的坐席信息', 'type' => 'string', 'required' => false, 'example' => '1001', ], ], [ 'name' => 'CallType', 'in' => 'query', 'schema' => [ 'title' => '外呼类型 可选项:1001:坐席-人工外呼,1002:坐席-AI外呼-不转人工,1003:坐席-AI外呼-接通转人工,1004:坐席-AI外呼-智能转人工"', 'description' => '外呼类型 可选项:1001:坐席-人工外呼', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1001', ], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'title' => 'AI话术ID 客户已制作并已发布/平台授权的AI话术ID,如callType=1001可不填;如callType=1002,1003或1004 ,必填。', 'description' => 'AI话术ID 客户已制作并已发布/平台授权的AI话术ID,如callType=1001可不填', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'GatewayId', 'in' => 'query', 'schema' => [ 'title' => '坐席-人工外呼选择的外呼线路,只针对callType=1001生效,其他callType不生效。如callType=1001,且gatewayId不传值,默认按系统的线路配置外呼', 'description' => '坐席-人工外呼选择的外呼线路,只针对callType=1001生效,其他callType不生效。如callType=1001,且gatewayId不传值,默认按系统的线路配置外呼', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'Customers', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '具体用户信息,如手机号、姓名等,需根据具体任务参数要求传输。注:当callType为1001时,只会导入第1条数据', 'description' => '具体用户信息,如手机号、姓名等,需根据具体任务参数要求传输。注:当callType为1001时,只会导入第1条数据', 'type' => 'array', 'items' => [ 'description' => '外呼客户', 'type' => 'object', 'properties' => [ 'Number' => [ 'title' => '号码,如手机号等', 'description' => '号码,如手机号等', 'type' => 'string', 'required' => false, 'example' => 'a', ], 'ClientUrl' => [ 'title' => '客户详情URL,用于展示客户用户在客户业务系统的详细信息,做多80个字符', 'description' => '客户详情URL,用于展示客户用户在客户业务系统的详细信息,做多80个字符', 'type' => 'string', 'required' => false, 'example' => 'a', ], 'Tag' => [ 'title' => '用户自定义标签,最多50个字符', 'description' => '用户自定义标签,最多50个字符', 'type' => 'string', 'required' => false, 'example' => 'a', ], 'NumberMD5' => [ 'title' => '用户电话号码MD5,和number两者必传一个', 'description' => '用户电话号码MD5,和number两者必传一个', 'type' => 'string', 'required' => false, 'example' => 'a', ], 'Properties' => [ 'title' => '用户具体信息。如AI话术模板没变量要求或为人工外呼,可为空(总长度500个字符,多余的会被剔除)', 'description' => '用户具体信息。如AI话术模板没变量要求或为人工外呼,可为空(总长度500个字符,多余的会被剔除)', 'type' => 'object', 'required' => false, 'example' => '{"test":"234"}', ], ], 'required' => false, ], 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'Access Denied', ], 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求的ID。用于定位日志,排查问题。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'BatchId' => [ 'title' => '批次ID', 'description' => '批次ID', 'type' => 'string', 'example' => 'example', ], 'Id' => [ 'title' => '外呼编号ID', 'description' => '外呼编号ID', 'type' => 'integer', 'format' => 'int64', 'example' => '80', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'string', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳ID', 'type' => 'integer', 'format' => 'int64', 'example' => '93', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"Access Denied\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"BatchId\\": \\"example\\",\\n \\"Id\\": 80\\n },\\n \\"Code\\": \\"0\\",\\n \\"Timestamp\\": 93,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-坐席外呼导入号码', 'description' => '坐席外呼导入号码', ], 'CallNumberDetail' => [ 'summary' => '获取号码详情', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Id', 'in' => 'query', 'schema' => [ 'title' => '外呼编号ID', 'description' => '外呼编号ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '95', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '33', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝详细信息;只有RAM校验失败才会返回此字段。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '状态码描述。', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求ID。用于定位日志,排查问题。', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'TaskId' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Keywords' => [ 'title' => '回复关键词', 'description' => '回复关键词', 'type' => 'string', 'example' => 'a', ], 'CallType' => [ 'title' => '可选项 1-AI外呼,6-语音通知', 'description' => '可选项 1-AI外呼,6-语音通知', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'IntentTag' => [ 'title' => '意向标签', 'description' => '意向标签', 'type' => 'string', 'example' => 'a', ], 'StatusCode' => [ 'title' => '外呼状态编码', 'description' => '外呼状态编码', 'type' => 'integer', 'format' => 'int64', 'example' => '200', ], 'Remark' => [ 'title' => '备注信息', 'description' => '备注信息', 'type' => 'string', 'example' => 'a', ], 'Number' => [ 'title' => '外呼号码', 'description' => '外呼号码', 'type' => 'string', 'example' => 'a', ], 'TransferStatus' => [ 'title' => '转人工状态 0-未触发,', 'description' => '转人工状态 0-未触发,', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'NumberMd5' => [ 'title' => '外呼号码MD5', 'description' => '外呼号码MD5', 'type' => 'string', 'example' => 'a', ], 'TemplateId' => [ 'title' => '外呼使用的模板ID', 'description' => '外呼使用的模板ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'CallId' => [ 'title' => '每次呼叫的唯一标识', 'description' => '每次呼叫的唯一标识', 'type' => 'string', 'example' => 'a', ], 'BatchId' => [ 'title' => '导入号码时返回的批次号', 'description' => '导入号码时返回的批次号', 'type' => 'string', 'example' => '1', ], 'CreateTime' => [ 'title' => '创建时间 格式 2026-01-01 00:00:00', 'description' => '创建时间 格式 2026-01-01 00:00:00', 'type' => 'string', 'example' => '2026-01-01 00:00:00', ], 'Params' => [ 'title' => '自定义参数 json', 'description' => '自定义参数 json', 'type' => 'string', 'example' => '{"名字":"a"}', ], 'Duration' => [ 'title' => '通话轮次', 'description' => '通话轮次', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'GatewayId' => [ 'title' => '线路id', 'description' => '线路id', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'AnswerTransferType' => [ 'title' => '接通转接类型 1-不转人工;2-接通转人工;3-智能转人工', 'description' => '接通转接类型 1-不转人工;2-接通转人工;3-智能转人工', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Sid' => [ 'title' => '坐席id', 'description' => '坐席id', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'BridgeBill' => [ 'title' => '转接计费时长', 'description' => '转接计费时长', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ClientUrl' => [ 'title' => '客户详情url', 'description' => '客户详情url', 'type' => 'string', 'example' => 'a', ], 'Bill' => [ 'title' => '通话时长,单位为毫秒,实际计费需向上取整转换为秒', 'description' => '通话时长,单位为毫秒,实际计费需向上取整转换为秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Id' => [ 'title' => '号码编号', 'description' => '号码编号', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Tag' => [ 'title' => '用户自定义标签', 'description' => '用户自定义标签', 'type' => 'string', 'example' => 'a', ], 'AiBill' => [ 'title' => 'ai计费时长', 'description' => 'ai计费时长', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'PersonalityTag' => [ 'title' => '个性标签', 'description' => '个性标签', 'type' => 'string', 'example' => 'a', ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '48', ], 'Success' => [ 'description' => '接口调用是否成功。'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。'."\n", 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": {\\n \\"TaskId\\": 1,\\n \\"Keywords\\": \\"a\\",\\n \\"CallType\\": 1,\\n \\"IntentTag\\": \\"a\\",\\n \\"StatusCode\\": 200,\\n \\"Remark\\": \\"a\\",\\n \\"Number\\": \\"a\\",\\n \\"TransferStatus\\": 0,\\n \\"NumberMd5\\": \\"a\\",\\n \\"TemplateId\\": 1,\\n \\"CallId\\": \\"a\\",\\n \\"BatchId\\": \\"1\\",\\n \\"CreateTime\\": \\"2026-01-01 00:00:00\\",\\n \\"Params\\": \\"{\\\\\\"名字\\\\\\":\\\\\\"a\\\\\\"}\\",\\n \\"Duration\\": 1,\\n \\"GatewayId\\": 1,\\n \\"AnswerTransferType\\": 1,\\n \\"Sid\\": 1,\\n \\"BridgeBill\\": 1,\\n \\"ClientUrl\\": \\"a\\",\\n \\"Bill\\": 1,\\n \\"Id\\": 1,\\n \\"Tag\\": \\"a\\",\\n \\"AiBill\\": 1,\\n \\"PersonalityTag\\": \\"a\\"\\n },\\n \\"Code\\": 0,\\n \\"Timestamp\\": 48,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-获取号码详情', 'description' => '获取号码详情', ], 'CallChatList' => [ 'summary' => '获取聊天内容', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID', 'description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'CallId', 'in' => 'query', 'schema' => [ 'title' => 'callId', 'description' => 'callId', 'type' => 'string', 'required' => false, 'example' => 'a', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessDeniedDetail' => [ 'description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => 'None', ], 'Message' => [ 'description' => '返回消息', 'type' => 'string', 'example' => 'example', ], 'RequestId' => [ 'description' => '请求ID,用于跟踪错误原因', 'type' => 'string', 'example' => 'example', ], 'Model' => [ 'description' => '返回结果', 'type' => 'array', 'items' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ 'Content' => [ 'title' => '说话内容', 'description' => '说话内容', 'type' => 'string', 'example' => '1', ], 'CreateTime' => [ 'title' => '说话时间', 'description' => '说话时间', 'type' => 'string', 'example' => '2019-01-09 14:14:19', ], 'FromType' => [ 'title' => '说话号码,其中0为AI,1-用户,2-坐席', 'description' => '说话号码,其中0为AI,1-用户,2-坐席', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'ChatId' => [ 'title' => '聊天内容id', 'description' => '聊天内容id', 'type' => 'integer', 'format' => 'int64', 'example' => '79', ], ], ], 'example' => '', ], 'Code' => [ 'description' => '状态码。返回 0 表示请求成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'Timestamp' => [ 'description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '81', ], 'Success' => [ 'description' => '调用接口是否成功。取值:'."\n" .'- **true**:成功。'."\n" .'- **false**:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessDeniedDetail\\": \\"None\\",\\n \\"Message\\": \\"example\\",\\n \\"RequestId\\": \\"example\\",\\n \\"Model\\": [\\n {\\n \\"Content\\": \\"1\\",\\n \\"CreateTime\\": \\"2019-01-09 14:14:19\\",\\n \\"FromType\\": 0,\\n \\"ChatId\\": 79\\n }\\n ],\\n \\"Code\\": 0,\\n \\"Timestamp\\": 81,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '行业版-获取聊天内容', 'description' => '获取聊天内容', ], ], 'endpoints' => [ [ 'regionId' => 'ap-northeast-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'ap-northeast-2-pop', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-3', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-5', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-gov-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-chengdu', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-edge-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-fujian', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-finance', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-huhehaote', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-huhehaote-nebula-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-north-2-gov-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao-nebula', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-inner', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-inner', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-wuhan', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-wulanchabu', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-yushanfang', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'eu-central-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'eu-west-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'eu-west-1-oxs', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'me-east-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'rus-west-1-pop', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'us-east-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'us-west-1', 'endpoint' => 'aiccs.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao', 'endpoint' => 'aiccs.aliyuncs.com', ], ], ];