注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 三方AI项目

taobao.smart.call.talk.template.query (智能外呼话术模版查询)

智能外呼话术模版查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
talk_template_list TalkTemplateDTO [] 话术模版列表
  • └ template_type
  • Number
  • 1
  • 话术模版类型
  • └ template_id
  • Number
  • 11
  • 话术模版id
  • └ template_name
  • String
  • 付款
  • 话术模版名称
  • └ properties
  • String
  • {“properties”:"商品名称"}
  • 话术模版参数
  • voices
  • VoiceDTO []
  • 音色列表
  • └ voice_id
  • String
  • 123
  • 音色id
  • └ voice_name
  • String
  • 测试
  • 音色名称
  • └ voice_url
  • String
  • https://xxx.xxx/xxxxxxx2
  • 音色试听地址
error Number 10 状态码
message String 参数错误 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SmartCallTalkTemplateQueryRequest req = new SmartCallTalkTemplateQueryRequest();
SmartCallTalkTemplateQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<smart_call_talk_template_query_response>
    <talk_template_list>
        <talk_template_d_t_o>
            <template_type>1</template_type>
            <template_id>11</template_id>
            <template_name>付款</template_name>
            <properties>{“properties”:&quot;商品名称&quot;}</properties>
            <voices>
                <voice_d_t_o>
                    <voice_id>123</voice_id>
                    <voice_name>测试</voice_name>
                    <voice_url>https://xxx.xxx/xxxxxxx2</voice_url>
                </voice_d_t_o>
            </voices>
        </talk_template_d_t_o>
    </talk_template_list>
    <error>10</error>
    <message>参数错误</message>
</smart_call_talk_template_query_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部