GET api/Evaluation/GetDistrictList?areaCode={areaCode}&languageType={languageType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
areaCode

string

Required

languageType

CmsLanguage

Default value is TC

Body Parameters

None.

Response Information

Resource Description

DistrictResponse
NameDescriptionTypeAdditional information
DistrictList

Collection of DistrictInfo

None.

ResponseCode

ResponseCode

None.

AlertMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DistrictList": [
    {
      "DistrictCode": "sample string 1",
      "DistrictName": "sample string 2",
      "DistrictChinesename": "sample string 3"
    },
    {
      "DistrictCode": "sample string 1",
      "DistrictName": "sample string 2",
      "DistrictChinesename": "sample string 3"
    }
  ],
  "ResponseCode": 1,
  "AlertMessage": "sample string 1"
}

text/xml

Sample:
<DistrictResponse 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>
  <DistrictList>
    <DistrictInfo>
      <DistrictChinesename>sample string 3</DistrictChinesename>
      <DistrictCode>sample string 1</DistrictCode>
      <DistrictName>sample string 2</DistrictName>
    </DistrictInfo>
    <DistrictInfo>
      <DistrictChinesename>sample string 3</DistrictChinesename>
      <DistrictCode>sample string 1</DistrictCode>
      <DistrictName>sample string 2</DistrictName>
    </DistrictInfo>
  </DistrictList>
</DistrictResponse>