文档中心 > API类目 > 司法拍卖

taobao.auction.gov.category.get (获取司法拍卖类目)

提供查询司法拍卖的类目及类目下的标的物数量

公共参数

请求参数

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

响应参数

名称 类型 示例值 描述
gov_category_info_list GovCategoryInfo [] 司法拍卖的类目信息列表
  • └ cat_id
  • Number
  • 12345
  • 类目id
  • └ count
  • Number
  • 12
  • 类目下的标的物数量
  • └ cat_name
  • String
  • 机动车
  • 类目名称

请求示例

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

响应示例

  • XML示例
  • JSON示例
<auction_gov_category_get_response>
    <gov_category_info_list>
        <gov_category_info>
            <cat_id>12345</cat_id>
            <count>12</count>
            <cat_name>机动车</cat_name>
        </gov_category_info>
    </gov_category_info_list>
</auction_gov_category_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>

错误码解释

错误码 错误描述 解决方案
isp.system-error 后端系统错误

API工具

如何获得此API

FAQ

返回
顶部