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

taobao.crm.index.effectivie.data.get (指标的效果数的查询接口)

指标的效果数的查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query IndexEffectiveDataQueryDto 必须 查询对象
  • └ biz_type
  • String
  • 必须
  • isvmsg
  • 场景描述
  • └ end_date
  • String
  • 必须
  • 2021-10-17
  • 查询的截止时间
  • └ biz_id
  • String
  • 必须
  • 1234
  • 场景id
  • └ source
  • String
  • 必须
  • fromisv
  • 调用来源
  • └ channel_id
  • Number
  • 必须
  • 15
  • 渠道
  • └ start_date
  • String
  • 必须
  • 2021-10-19
  • 查询的开始时间
  • └ track_data_from
  • String
  • 可选
  • sms
  • 扩展使用
  • └ ext_info
  • String
  • 可选
  • "strategyId":"111"
  • 扩展字段

响应参数

名称 类型 示例值 描述
result Result {} 接口返回model
  • └ msg
  • String
  • 入参非法
  • 信息
  • └ result
  • String
  • {}
  • 业务结果
  • └ code
  • Number
  • 1001
  • code
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ result_code
  • String
  • 1231
  • 返回码
  • └ count
  • Number
  • 1234
  • 总数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CrmIndexEffectivieDataGetRequest req = new CrmIndexEffectivieDataGetRequest();
CrmIndexEffectivieDataGetRequest.IndexEffectiveDataQueryDto obj1 = new CrmIndexEffectivieDataGetRequest.IndexEffectiveDataQueryDto();
obj1.setBizType("isvmsg");
obj1.setEndDate("2021-10-17");
obj1.setBizId("1234");
obj1.setSource("fromisv");
obj1.setChannelId(15L);
obj1.setStartDate("2021-10-19");
obj1.setTrackDataFrom("sms");
obj1.setExtInfo("\"strategyId\":\"111\"");
req.setQuery(obj1);
CrmIndexEffectivieDataGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<crm_index_effectivie_data_get_response>
    <result>
        <msg>入参非法</msg>
        <result>{}</result>
        <code>1001</code>
        <success>false</success>
        <result_code>1231</result_code>
        <count>1234</count>
    </result>
</crm_index_effectivie_data_get_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

返回
顶部