taobao.auction.titan.saas.getcommunitylist (询价saas开放接口-查询小区列表)

询价saas开放接口-查询小区列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
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
  • 阳光城
  • 小区名称
  • └ city_code
  • String
  • 330100
  • 城市编码
  • └ city_name
  • String
  • 杭州市
  • 城市名称
  • └ district_name
  • String
  • 西湖区
  • 城区名称
  • └ error_msg
  • String
  • 参数错误
  • 错误信息

请求示例

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

响应示例

  • XML示例
  • JSON示例
<auction_titan_saas_getcommunitylist_response>
    <result>
        <error_code>param_invalid</error_code>
        <value>
            <community_info>
                <source>1</source>
                <id>1</id>
                <name>阳光城</name>
                <city_code>330100</city_code>
                <city_name>杭州市</city_name>
                <district_name>西湖区</district_name>
            </community_info>
        </value>
        <error_msg>参数错误</error_msg>
    </result>
</auction_titan_saas_getcommunitylist_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

返回
顶部