GET api/HouseCategory/SearchHouseCategory?styleids={styleids}&isopen={isopen}

获取不同房屋分类的描述

Request Information

URI Parameters

NameDescriptionTypeAdditional information
styleids

资讯分类:0,总价:1,租金:2,均价:3,面积:4,户型:5,装修风格:6(字段串用‘,’隔开)

string

Required

isopen

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

获取不同房屋分类的描述

Dictionary of integer [key] and Collection of mh163k_house_category [value]

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintArrayOfmh163k_house_categoryXUcIZl8_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintArrayOfmh163k_house_categoryXUcIZl8_P>
    <Key>1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mh.House.Service.Model">
      <d3p1:mh163k_house_category>
        <d3p1:Chrcategory>sample string 2</d3p1:Chrcategory>
        <d3p1:Dtappenddate>2024-04-26T07:29:09.4567053+08:00</d3p1:Dtappenddate>
        <d3p1:Endmoney>5</d3p1:Endmoney>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Intorder>3</d3p1:Intorder>
        <d3p1:Isopen>6</d3p1:Isopen>
        <d3p1:Startmoney>4</d3p1:Startmoney>
        <d3p1:Styleid>TotalPrice</d3p1:Styleid>
      </d3p1:mh163k_house_category>
      <d3p1:mh163k_house_category>
        <d3p1:Chrcategory>sample string 2</d3p1:Chrcategory>
        <d3p1:Dtappenddate>2024-04-26T07:29:09.4567053+08:00</d3p1:Dtappenddate>
        <d3p1:Endmoney>5</d3p1:Endmoney>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Intorder>3</d3p1:Intorder>
        <d3p1:Isopen>6</d3p1:Isopen>
        <d3p1:Startmoney>4</d3p1:Startmoney>
        <d3p1:Styleid>TotalPrice</d3p1:Styleid>
      </d3p1:mh163k_house_category>
    </Value>
  </KeyValueOfintArrayOfmh163k_house_categoryXUcIZl8_P>
  <KeyValueOfintArrayOfmh163k_house_categoryXUcIZl8_P>
    <Key>2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mh.House.Service.Model">
      <d3p1:mh163k_house_category>
        <d3p1:Chrcategory>sample string 2</d3p1:Chrcategory>
        <d3p1:Dtappenddate>2024-04-26T07:29:09.4567053+08:00</d3p1:Dtappenddate>
        <d3p1:Endmoney>5</d3p1:Endmoney>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Intorder>3</d3p1:Intorder>
        <d3p1:Isopen>6</d3p1:Isopen>
        <d3p1:Startmoney>4</d3p1:Startmoney>
        <d3p1:Styleid>TotalPrice</d3p1:Styleid>
      </d3p1:mh163k_house_category>
      <d3p1:mh163k_house_category>
        <d3p1:Chrcategory>sample string 2</d3p1:Chrcategory>
        <d3p1:Dtappenddate>2024-04-26T07:29:09.4567053+08:00</d3p1:Dtappenddate>
        <d3p1:Endmoney>5</d3p1:Endmoney>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:Intorder>3</d3p1:Intorder>
        <d3p1:Isopen>6</d3p1:Isopen>
        <d3p1:Startmoney>4</d3p1:Startmoney>
        <d3p1:Styleid>TotalPrice</d3p1:Styleid>
      </d3p1:mh163k_house_category>
    </Value>
  </KeyValueOfintArrayOfmh163k_house_categoryXUcIZl8_P>
</ArrayOfKeyValueOfintArrayOfmh163k_house_categoryXUcIZl8_P>