POST api/User/Edit

用户信息编辑

Request Information

URI Parameters

None.

Body Parameters

UserEditModel
NameDescriptionTypeAdditional information
Id

用户id

integer

None.

Photo

头像

string

None.

RealName

真实姓名

string

None.

Gender

性别(man,woman)

string

None.

Email

邮箱

string

None.

MobileNo

手机号

string

None.

Telephone

座机号

string

None.

QQNo

QQ号

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Photo": "sample string 2",
  "RealName": "sample string 3",
  "Gender": "sample string 4",
  "Email": "sample string 5",
  "MobileNo": "sample string 6",
  "Telephone": "sample string 7",
  "QQNo": "sample string 8"
}

application/xml, text/xml

Sample:
<UserEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models.User">
  <Email>sample string 5</Email>
  <Gender>sample string 4</Gender>
  <Id>1</Id>
  <MobileNo>sample string 6</MobileNo>
  <Photo>sample string 2</Photo>
  <QQNo>sample string 8</QQNo>
  <RealName>sample string 3</RealName>
  <Telephone>sample string 7</Telephone>
</UserEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

用户信息编辑

ResultModel
NameDescriptionTypeAdditional information
Code

返回码

ResultCode

None.

Message

返回信息

string

None.

Data

返回的数据

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 10000,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models">
  <Code>Success</Code>
  <Data />
  <Message>sample string 1</Message>
</ResultModel>