taobao.auction.titan.get.communitylist (获取小区列表)

获取小区列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
nick String 必须 测试 测试nick
city_code String 可选 410100 城市编码
community_name String 可选 阳光城 小区名

响应参数

名称 类型 示例值 描述
result TopResult 结果
  • └ error_code
  • String
  • param_invalid
  • 错误编码
  • value
  • CommunityInfo []
  • 小区列表
  • └ source
  • Number
  • 1
  • 来源
  • └ id
  • String
  • 1
  • 小区id
  • └ name
  • String
  • 小区
  • 小区名称
  • └ error_msg
  • String
  • 参数无效
  • 错误描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AuctionTitanGetCommunitylistRequest req = new AuctionTitanGetCommunitylistRequest();
req.setNick("测试");
req.setCityCode("410100");
req.setCommunityName("阳光城");
AuctionTitanGetCommunitylistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<auction_titan_get_communitylist_response>
    <result>
        <error_code>param_invalid</error_code>
        <value>
            <community_info>
                <source>1</source>
                <id>1</id>
                <name>小区</name>
            </community_info>
        </value>
        <error_msg>参数无效</error_msg>
    </result>
</auction_titan_get_communitylist_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

返回
顶部