闲鱼二手房房源查询
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| house_query_dto | HouseQueryDTO | 必须 | 查询参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | EasyResultDTO | 返回结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleNewHouseItemQueryRequest req = new AlibabaIdleNewHouseItemQueryRequest();
AlibabaIdleNewHouseItemQueryRequest.HouseQueryDTO obj1 = new AlibabaIdleNewHouseItemQueryRequest.HouseQueryDTO();
obj1.setItemId(123L);
obj1.setUserNick("张三");
req.setHouseQueryDto(obj1);
AlibabaIdleNewHouseItemQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<alibaba_idle_new_house_item_query_response>
<result>
<data>
<house_status>0 - 在售 1 - 已售</house_status>
<videos>
<image_info_v_o>
<url>https://img.alicdn.xxxx.jpg</url>
<type>0:图片 10000:视频</type>
<video_md5>AARgEoAAMAAAABAAIAAIdpAAQAAAABAA</video_md5>
<video_object>oss</video_object>
</image_info_v_o>
</videos>
<property_class>1</property_class>
<has_owner_entrust>true</has_owner_entrust>
<seller_vo>
<staff_full_name>所属经纪门店+姓名</staff_full_name>
<staff_shop_name>所属经纪门店+姓名</staff_shop_name>
<org_name>xx公司</org_name>
<org_license>123</org_license>
<back_images>
<string>http://img.alicdn.com/bao/uploaded/i1/O1CN011c47PJt5Lmvbjnk_!!0-fleamarket.jpg</string>
</back_images>
<staff_image>http://img.alicdn.com/bao/uploaded/i1/O1CN011c47PJt5Lmvbjnk_!!0-fleamarket.jpg</staff_image>
<business_license_images>
<string>http://img.alicdn.com/bao/uploaded/i1/O1CN011c47PJt5Lmvbjnk_!!0-fleamarket.jpg</string>
</business_license_images>
<staff_id>123</staff_id>
<staff_name>张三</staff_name>
<staff_id_card>身份证号</staff_id_card>
<staff_phone_number>18888888888</staff_phone_number>
<owner_name>李四</owner_name>
<id_code>123</id_code>
</seller_vo>
<decorate_level>1-豪华装 2-精装 3-简装 4-毛坯</decorate_level>
<unique_house_id>1234</unique_house_id>
<room_type>独栋/联排/复式/平层/跃层/错层/其他</room_type>
<unit_price>1000</unit_price>
<images>
<image_info_v_o>
<type>0</type>
<url>http://img.alicdn.com/bao/uploaded/i1/O1CN011c47PJt5Lmvbjnk_!!0-fleamarket.jpg</url>
</image_info_v_o>
</images>
<property_rights>共有产权/单独产权</property_rights>
<room_area>80</room_area>
<house_class>高层、小高层、洋房、别墅、叠墅、公寓、办公、商住公寓、其他</house_class>
<building_addr>3栋1单元203室</building_addr>
<item_id>123</item_id>
<total_floor>20</total_floor>
<has_agency_fee>true</has_agency_fee>
<market_time>0-2004年以前 1-2004年 2-2005年 3-2006年 4-2007年 5-2008年 6-2009年 7-2010年 8-2011年 9-2012年 10-2013年 11-2014年 12-2015年 13-2016年 14-2017年 15-2018年 16-2019年 17-2020年 18-2021年 19-2022年 20-2023年 21-2024年</market_time>
<desc>描述信息</desc>
<house_use_class>普通住宅、商住公寓、办公写字楼、商铺、工业用房、文体娱乐、其他</house_use_class>
<total_price>230.5</total_price>
<has_real_estate_certificate>true</has_real_estate_certificate>
<house_age>满五/满二/不满二</house_age>
<title>房屋标题</title>
<real_estate_certificate_number>123</real_estate_certificate_number>
<elevator_room_ratio>0.589</elevator_room_ratio>
<floor_class>1-低楼层 2-中楼层 3-高楼层</floor_class>
<property_rights_period>70年产权/40年产权/50年产权/30年产权/永久产权/无产权</property_rights_period>
<floor>8</floor>
<building_class>塔楼/板楼/板塔结合</building_class>
<verification_code>123</verification_code>
<publish_body_class>服务商/经纪公司/经纪人/其他</publish_body_class>
<community_images>
<image_info_v_o>
<type>0</type>
<url>https://img.alicdn.xxxx.jpg</url>
</image_info_v_o>
</community_images>
<sale_time_str>2024年05月</sale_time_str>
<room_rate>88.88</room_rate>
<biz_circles>万达广场</biz_circles>
<face>1-朝东 2-朝南 3-朝西 4-朝北 5-西北 6-东北 7-东南 8-西南 9-东西 10-南北</face>
<detail_address>杭州市余杭区永福小区</detail_address>
<has_elevator>0-无电梯 1-有电梯</has_elevator>
<has_check_certificate>true/false</has_check_certificate>
<inner_area>88.88</inner_area>
<category_id>50023914</category_id>
<tags>南北通透</tags>
<has_parking>1</has_parking>
<look_time>周末可看</look_time>
<sale_reason>破产</sale_reason>
<situation>1</situation>
<ownership_address>房产证显示地址</ownership_address>
<is_only_house>true/false</is_only_house>
<layout_pictures_image>
<image_info_v_o>
<type>0</type>
<url>https://img.alicdn.xxxx.jpg</url>
</image_info_v_o>
</layout_pictures_image>
<bed_room_cnt>1</bed_room_cnt>
<living_room_cnt>0</living_room_cnt>
<bath_room_cnt>0</bath_room_cnt>
</data>
<success>true/false</success>
<error_code>UNAUTHORIZED_PLAT_ACCESS</error_code>
<error_msg>房源机构没有权限</error_msg>
</result>
</alibaba_idle_new_house_item_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|