POST api/FangYuan/UpdateClient

更新客户资料

Request Information

URI Parameters

None.

Body Parameters

客户实体

ClientUpdateDto
NameDescriptionTypeAdditional information
ClientId

客户标识

integer

None.

DemandType

客户需求类型

HouseClientDemandType

None.

PublicType

客户保护级别

HouseClientType

None.

ClientName

客户姓名

string

None.

Gender

客户性别

SexType

None.

Contact

客户联系方式

string

None.

Level

客户级别

HouseClientLevel

None.

Remark

备注信息

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:
<ClientUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.Client">
  <ClientId>1</ClientId>
  <ClientName>sample string 2</ClientName>
  <Contact>sample string 3</Contact>
  <DemandType>All</DemandType>
  <Gender>Male</Gender>
  <Level>All</Level>
  <PublicType>Public</PublicType>
  <Remark>sample string 4</Remark>
</ClientUpdateDto>

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

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