POST api/User/Update

会员中心-修改会员基本信息

Request Information

URI Parameters

None.

Body Parameters

UserUpdateDto
NameDescriptionTypeAdditional information
Userid

用户自增长id

integer

None.

Chremail

邮箱

string

None.

Chrname

用户登录名

string

None.

Chrqq

qq

string

None.

ChrPic

个人头像

string

None.

Chrtruename

用户真实名称

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:
<UserUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.User">
  <ChrPic>sample string 5</ChrPic>
  <Chremail>sample string 2</Chremail>
  <Chrname>sample string 3</Chrname>
  <Chrqq>sample string 4</Chrqq>
  <Chrtruename>sample string 6</Chrtruename>
  <Userid>1</Userid>
</UserUpdateDto>

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

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