文档中心 > API类目 > 客户运营平台API

taobao.opencrm.utouch.list.send (指定列表发送外呼)

发送电话外呼接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
task_content UTouchDeliverTaskContent 必须 任务内容
  • └ deliver_targets
  • String []
  • 可选
  • ["xxxx","xxxx"]
  • 列表格式,传入ouid
  • └ out_node_inst_id
  • Number
  • 可选
  • 4001
  • 节点实例ID
  • └ crowd_mode
  • Boolean
  • 可选
  • false
  • 人群模式
  • └ plh_val
  • String
  • 可选
  • {\"store_name\": \"青鸥测试店铺\", \"category\":\"3c\", \"solution\":\"优惠券方案\", \"reason":"不想要了\"}
  • 外呼模板的变量,key为占位符,value是替换值
  • └ mobile_acquisition_rule
  • String []
  • 可选
  • [3,1,2]
  • 自定义手机号获取规则
  • └ task_code
  • String
  • 可选
  • top-utouch-1
  • 服务场景code

响应参数

名称 类型 示例值 描述
result NodeExecuteReportDto 非人群模式的发送报告
  • └ coupon_un_use_count
  • Number
  • 1000
  • couponUnUseCount
  • └ coupon_used_count
  • Number
  • 200
  • couponUsedCount
  • └ coupon_using_count
  • Number
  • 800
  • couponUsingCount
  • └ fail_bill_count
  • Number
  • 40
  • failBillCount
  • └ fail_count
  • Number
  • 20
  • failCount
  • └ fail_statistics
  • String
  • {}
  • failStatistics
  • └ limited_count
  • Number
  • 5
  • limitedCount
  • └ node_inst_id
  • Number
  • 4001
  • nodeInstId
  • └ short_link_click_pv
  • Number
  • 1000
  • shortLinkClickPv
  • └ short_link_click_uv
  • Number
  • 500
  • shortLinkClickUv
  • └ success_bill_count
  • Number
  • 200
  • successBillCount
  • └ success_count
  • Number
  • 100
  • successCount
  • └ total_count
  • Number
  • 1000
  • totalCount
  • └ unknown_status_bill_count
  • Number
  • 20
  • unknownStatusBillCount
  • └ unknown_status_count
  • Number
  • 10
  • unknownStatusCount

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
OpencrmUtouchListSendRequest req = new OpencrmUtouchListSendRequest();
OpencrmUtouchListSendRequest.UTouchDeliverTaskContent obj1 = new OpencrmUtouchListSendRequest.UTouchDeliverTaskContent();
obj1.setDeliverTargets(""xxxx","xxxx"");
obj1.setOutNodeInstId(4001L);
obj1.setCrowdMode(false);
obj1.setPlhVal("{\\"store_name\\": \\"青鸥测试店铺\\",       \\"category\\":\\"3c\\",       \\"solution\\":\\"优惠券方案\\",       \\"reason\":\"不想要了\\"}");
obj1.setMobileAcquisitionRule("3,1,2");
obj1.setTaskCode("top-utouch-1");
req.setTaskContent(obj1);
OpencrmUtouchListSendResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<opencrm_utouch_list_send_response>
    <result>
        <coupon_un_use_count>1000</coupon_un_use_count>
        <coupon_used_count>200</coupon_used_count>
        <coupon_using_count>800</coupon_using_count>
        <fail_bill_count>40</fail_bill_count>
        <fail_count>20</fail_count>
        <fail_statistics>{}</fail_statistics>
        <limited_count>5</limited_count>
        <node_inst_id>4001</node_inst_id>
        <short_link_click_pv>1000</short_link_click_pv>
        <short_link_click_uv>500</short_link_click_uv>
        <success_bill_count>200</success_bill_count>
        <success_count>100</success_count>
        <total_count>1000</total_count>
        <unknown_status_bill_count>20</unknown_status_bill_count>
        <unknown_status_count>10</unknown_status_count>
    </result>
</opencrm_utouch_list_send_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>

错误码解释

错误码 错误描述 解决方案
10002 参数校验异常 参考文档检测入参

API工具

如何获得此API

FAQ

返回
顶部