GET api/Authentication/GetHousesList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of House
NameDescriptionTypeAdditional information
Id

integer

None.

HouseTypeName

string

None.

HousePropertyList

Collection of HouseProperty

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "HouseTypeName": "sample string 2",
    "HousePropertyList": [
      {
        "Id": 1,
        "Fid": 2,
        "HousePropertyTypeName": "sample string 3"
      },
      {
        "Id": 1,
        "Fid": 2,
        "HousePropertyTypeName": "sample string 3"
      }
    ]
  },
  {
    "Id": 1,
    "HouseTypeName": "sample string 2",
    "HousePropertyList": [
      {
        "Id": 1,
        "Fid": 2,
        "HousePropertyTypeName": "sample string 3"
      },
      {
        "Id": 1,
        "Fid": 2,
        "HousePropertyTypeName": "sample string 3"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfHouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.AuthenticationModels">
  <House>
    <HousePropertyList>
      <HouseProperty>
        <Fid>2</Fid>
        <HousePropertyTypeName>sample string 3</HousePropertyTypeName>
        <Id>1</Id>
      </HouseProperty>
      <HouseProperty>
        <Fid>2</Fid>
        <HousePropertyTypeName>sample string 3</HousePropertyTypeName>
        <Id>1</Id>
      </HouseProperty>
    </HousePropertyList>
    <HouseTypeName>sample string 2</HouseTypeName>
    <Id>1</Id>
  </House>
  <House>
    <HousePropertyList>
      <HouseProperty>
        <Fid>2</Fid>
        <HousePropertyTypeName>sample string 3</HousePropertyTypeName>
        <Id>1</Id>
      </HouseProperty>
      <HouseProperty>
        <Fid>2</Fid>
        <HousePropertyTypeName>sample string 3</HousePropertyTypeName>
        <Id>1</Id>
      </HouseProperty>
    </HousePropertyList>
    <HouseTypeName>sample string 2</HouseTypeName>
    <Id>1</Id>
  </House>
</ArrayOfHouse>