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

taobao.auction.gov.get.auction.status (司法拍卖查询标的物状态)

司法拍卖查询标的物状态

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
item_id Number 必须 123456 拍品id

响应参数

名称 类型 示例值 描述
item_id Number 123456 拍品id
out_id String a123456 外部id
status Number 1 0=即将开始;1=正在进行;2=竞买成功,等待法院确认;4=流拍,等待法院确认;5=法院确认成交;6=法院确认流拍;7=撤回;8=中止;10=交易未履行;3=其他;

请求示例

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

响应示例

  • XML示例
  • JSON示例
<auction_gov_get_auction_status_response>
    <item_id>123456</item_id>
    <out_id>a123456</out_id>
    <status>1</status>
</auction_gov_get_auction_status_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>

错误码解释

错误码 错误描述 解决方案
isv.param-error 参数错误 检查拍品id参数是否正确
isp.query-govauction-status-error 查询标的物状态错误 联系淘宝司法拍卖平台
isv.govAuction-not-found 拍品信息不存在 检查拍品id和用户授权key

API工具

如何获得此API

FAQ

返回
顶部