文档中心 > API类目 > 五道口API

alibaba.wdk.channel.source.data (渠道来源rt回流)

大润发渠道来源rt数据回流

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
channel_source_r_t_back_flow_request ChannelSourceRtBackFlowRequest 必须 请求入参
  • └ page_size
  • Number
  • 必须
  • 100
  • 每页拉取数量
  • └ stat_date
  • String
  • 必须
  • YYYYmmDD
  • 订单日期
  • └ max_parent_id
  • String
  • 可选
  • 12312312
  • 最大订单编号
  • └ is_query_total_count
  • Number
  • 可选
  • 0
  • 0:查询数据 1:查询总数量

响应参数

名称 类型 示例值 描述
api_result ApiResult 返回结果apirsult
  • └ success
  • Boolean
  • true
  • 调用接口返回成功失败
  • └ err_msg
  • String
  • 调用接口返回错误信息
  • └ err_code
  • String
  • 调用接口返回错误编码
  • model
  • ChannelSourceRTBackFlowResponse
  • 返回model
  • └ has_next
  • Number
  • 1
  • 是否有下一页0否 1是
  • channel_source_r_t_back_flows
  • ChannelSourceRtBackFlowDto []
  • 返回结果集合
  • └ first_channel
  • String
  • 自然增长
  • 推广渠道
  • └ stat_date
  • String
  • 20190801
  • 订单日期
  • └ parent_id
  • String
  • 123123
  • 订单编号
  • └ total_count
  • Number
  • 123123
  • 总数量

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaWdkChannelSourceDataRequest req = new AlibabaWdkChannelSourceDataRequest();
AlibabaWdkChannelSourceDataRequest.ChannelSourceRtBackFlowRequest obj1 = new AlibabaWdkChannelSourceDataRequest.ChannelSourceRtBackFlowRequest();
obj1.setPageSize(100L);
obj1.setStatDate("YYYYmmDD");
obj1.setMaxParentId("12312312");
obj1.setIsQueryTotalCount(0L);
req.setChannelSourceRTBackFlowRequest(obj1);
AlibabaWdkChannelSourceDataResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_wdk_channel_source_data_response>
    <api_result>
        <success>true</success>
        <err_msg></err_msg>
        <err_code></err_code>
        <model>
            <has_next>1</has_next>
            <channel_source_r_t_back_flows>
                <channel_source_rt_back_flow_dto>
                    <first_channel>自然增长</first_channel>
                    <stat_date>20190801</stat_date>
                    <parent_id>123123</parent_id>
                </channel_source_rt_back_flow_dto>
            </channel_source_r_t_back_flows>
            <total_count>123123</total_count>
        </model>
    </api_result>
</alibaba_wdk_channel_source_data_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

返回
顶部