POST WEvalQuery/GetCommunityInfo
根据经纬度 + 小区名称 + 物业类型,获取范围内最近的小区及四至信息
Request Information
URI Parameters
None.
Body Parameters
CommunityInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CommunityName |
小区名称(支持模糊匹配) |
string |
None. |
| Location |
经纬度坐标,格式为「经度,纬度」,例如:114.286060,30.614168 |
string |
None. |
| Type |
物业类型(如:住宅、商铺等) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CommunityName": "sample string 1",
"Location": "sample string 2",
"Type": "sample string 3"
}
application/xml, text/xml
Sample:
<CommunityInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eaglet.Entity.Pattern.Query"> <CommunityName>sample string 1</CommunityName> <Location>sample string 2</Location> <Type>sample string 3</Type> </CommunityInfoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RemoteResponseOfCommunityInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errors | string |
None. |
|
| unauthed | boolean |
None. |
|
| result | CommunityInfoResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errors": "sample string 2",
"unauthed": true,
"result": {
"CommunityName": "sample string 1",
"East": "sample string 2",
"South": "sample string 3",
"West": "sample string 4",
"North": "sample string 5"
}
}
application/xml, text/xml
Sample:
<RemoteResponseOfCommunityInfoResponseNCcew9g6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
<Errors>sample string 2</Errors>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eaglet.Entity.Pattern.Query">
<d2p1:CommunityName>sample string 1</d2p1:CommunityName>
<d2p1:East>sample string 2</d2p1:East>
<d2p1:North>sample string 5</d2p1:North>
<d2p1:South>sample string 3</d2p1:South>
<d2p1:West>sample string 4</d2p1:West>
</Result>
<Success>true</Success>
<UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfCommunityInfoResponseNCcew9g6>