POST api/HouseConfig/Update

修改房产模块配置

Request Information

URI Parameters

None.

Body Parameters

HouseConfigDto
NameDescriptionTypeAdditional information
PersonalHouseIsKill

个人房源是否需要审核

boolean

None.

XuQiuIsKill

求组求购信息是否需要审核

boolean

None.

PersonalTradeHideInfomation

个人房源成交后是否隐藏房东联系方式

boolean

None.

PersonalPublishDayLimit

个人房源发布房源上限(每日)

integer

None.

PersonalPublishTotalLimit

个人房源发布房源上限(总数)

integer

None.

HouseMenDianConfigs

房产钻石门店相关配置

Collection of HouseMenDianConfigDto

None.

PlatformName

平台名称

string

None.

Request 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:
<HouseConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.Config">
  <PlatformName xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.Platform">sample string 6</PlatformName>
  <HouseMenDianConfigs>
    <HouseMenDianConfigDto>
      <CanViewFanyuanVisitor>true</CanViewFanyuanVisitor>
      <CanViewFanyuanVisitorIsOnlySelf>true</CanViewFanyuanVisitorIsOnlySelf>
      <DelegateMenDianView>true</DelegateMenDianView>
      <FreeRefreshHouseNumPerDay>6</FreeRefreshHouseNumPerDay>
      <FreeRefreshHousePerDay>7</FreeRefreshHousePerDay>
      <FreeRefreshSingleHousePerDianzhang>8</FreeRefreshSingleHousePerDianzhang>
      <MenDianAgentLimit>1</MenDianAgentLimit>
      <MenDianHouseIsKill>true</MenDianHouseIsKill>
      <MenDianLevel>Custom</MenDianLevel>
      <MenDianPublishDayLimit>2</MenDianPublishDayLimit>
      <MenDianPublishTotalLimit>3</MenDianPublishTotalLimit>
    </HouseMenDianConfigDto>
    <HouseMenDianConfigDto>
      <CanViewFanyuanVisitor>true</CanViewFanyuanVisitor>
      <CanViewFanyuanVisitorIsOnlySelf>true</CanViewFanyuanVisitorIsOnlySelf>
      <DelegateMenDianView>true</DelegateMenDianView>
      <FreeRefreshHouseNumPerDay>6</FreeRefreshHouseNumPerDay>
      <FreeRefreshHousePerDay>7</FreeRefreshHousePerDay>
      <FreeRefreshSingleHousePerDianzhang>8</FreeRefreshSingleHousePerDianzhang>
      <MenDianAgentLimit>1</MenDianAgentLimit>
      <MenDianHouseIsKill>true</MenDianHouseIsKill>
      <MenDianLevel>Custom</MenDianLevel>
      <MenDianPublishDayLimit>2</MenDianPublishDayLimit>
      <MenDianPublishTotalLimit>3</MenDianPublishTotalLimit>
    </HouseMenDianConfigDto>
  </HouseMenDianConfigs>
  <PersonalHouseIsKill>true</PersonalHouseIsKill>
  <PersonalPublishDayLimit>4</PersonalPublishDayLimit>
  <PersonalPublishTotalLimit>5</PersonalPublishTotalLimit>
  <PersonalTradeHideInfomation>true</PersonalTradeHideInfomation>
  <XuQiuIsKill>true</XuQiuIsKill>
</HouseConfigDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HouseConfigDto'.

Response Information

Resource Description

修改房产模块配置

Object

None.

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:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />