文档中心 > API类目 > 服务平台API

taobao.weike.subscinfo.get (需求订单查询接口)

需求订单查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
seller_name String 可选 XXname 商家旺旺名称
start_time Date 可选 2014-03-25 15:12:20 时间范围开始时间
end_time Date 可选 2014-03-27 15:12:20 时间范围结束时间
page_num Number 可选 1 页码

响应参数

名称 类型 示例值 描述
result SubscInfoWrapper 返回结果
  • └ total_count
  • Number
  • 123
  • 总量
  • subsc_info_list
  • SubscInfo []
  • 需求订购信息
  • └ id
  • Number
  • 123
  • 订单id
  • └ subsc_created_time
  • Date
  • 2014-04-04 17:25:45
  • 订单创建时间
  • └ sp_name
  • String
  • 客服管家
  • 服务商名称
  • └ sub_account_list
  • String
  • hello:world
  • 子账号名称列表
  • └ service_end_time
  • Date
  • 2014-04-24 17:25:45
  • 服务开结束时间
  • └ seller_name
  • String
  • 福摩
  • 商家名称
  • └ service_start_time
  • Date
  • 2014-04-04 17:25:45
  • 服务开始时间
  • └ subsc_modified_time
  • Date
  • 2014-04-11 13:55:38
  • 订单修改时间
  • └ process_status
  • Number
  • 1
  • 订单状态
  • └ sale_bonus
  • String
  • 10
  • 销售提成

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WeikeSubscinfoGetRequest req = new WeikeSubscinfoGetRequest();
req.setSellerName("XXname");
req.setStartTime(StringUtils.parseDateTime("2014-03-25 15:12:20"));
req.setEndTime(StringUtils.parseDateTime("2014-03-27 15:12:20"));
req.setPageNum(1L);
WeikeSubscinfoGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<weike_subscinfo_get_response>
    <result>
        <total_count>123</total_count>
        <subsc_info_list>
            <subsc_info>
                <id>123</id>
                <subsc_created_time>2014-04-04 17:25:45</subsc_created_time>
                <sp_name>客服管家</sp_name>
                <sub_account_list>hello:world</sub_account_list>
                <service_end_time>2014-04-24 17:25:45</service_end_time>
                <seller_name>福摩</seller_name>
                <service_start_time>2014-04-04 17:25:45</service_start_time>
                <subsc_modified_time>2014-04-11 13:55:38</subsc_modified_time>
                <process_status>1</process_status>
                <sale_bonus>10</sale_bonus>
            </subsc_info>
        </subsc_info_list>
    </result>
</weike_subscinfo_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

返回
顶部