GET api/Evaluation/GetEstateList?districtCode={districtCode}&languageType={languageType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| districtCode | string |
Required |
|
| languageType | CmsLanguage |
Default value is TC |
Body Parameters
None.
Response Information
Resource Description
EstateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| EstateList | Collection of EstateInfo |
None. |
|
| ResponseCode | ResponseCode |
None. |
|
| AlertMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"EstateList": [
{
"EstateCode": "sample string 1",
"EstateName": "sample string 2",
"EstateChinesename": "sample string 3"
},
{
"EstateCode": "sample string 1",
"EstateName": "sample string 2",
"EstateChinesename": "sample string 3"
}
],
"ResponseCode": 1,
"AlertMessage": "sample string 1"
}
text/xml
Sample:
<EstateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentaMortgageWebAPI.Models">
<AlertMessage>sample string 1</AlertMessage>
<ResponseCode>Success</ResponseCode>
<EstateList>
<EstateInfo>
<EstateChinesename>sample string 3</EstateChinesename>
<EstateCode>sample string 1</EstateCode>
<EstateName>sample string 2</EstateName>
</EstateInfo>
<EstateInfo>
<EstateChinesename>sample string 3</EstateChinesename>
<EstateCode>sample string 1</EstateCode>
<EstateName>sample string 2</EstateName>
</EstateInfo>
</EstateList>
</EstateResponse>