POST api/FangYuan/FangyuanImportByFile

使用文件导入房源

Request Information

URI Parameters

None.

Body Parameters

HouseImportByFileDto
NameDescriptionTypeAdditional information
HouseType

房源类型

HouseType

None.

ImportToMendian

是否导入到门店,为真时则门店标识生效,反之中介姓名生效

boolean

None.

MendianId

门店标识

integer

None.

UserName

个人用户姓名

string

None.

FilePath

文件相对路径

string

None.

ImportStatus

导入房源状态

AuditStatusType

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:
<HouseImportByFileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.House">
  <FilePath>sample string 4</FilePath>
  <HouseType>SecondhandHouse</HouseType>
  <ImportStatus>TobeAgree</ImportStatus>
  <ImportToMendian>true</ImportToMendian>
  <MendianId>2</MendianId>
  <UserName>sample string 3</UserName>
</HouseImportByFileDto>

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 'HouseImportByFileDto'.

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/" />