POST api/Account/setmyprofile

完善我的资料/修改个人资料

Request Information

URI Parameters

None.

Body Parameters

MyProfileModel
NameDescriptionTypeAdditional information
UserId

integer

None.

NickName

昵称

string

None.

RealName

姓名

string

None.

Sex

integer

None.

HeadImageUrl

头像(Base64图片)

string

None.

Email

邮箱

string

None.

Sign

string

None.

Company

string

None.

Mobile

string

None.

Area

string

None.

AreaText

string

None.

Address

string

None.

AlipayAccount

支付宝账户

string

None.

BankAccount

银行账户

string

None.

OpeningBank

开户行

string

None.

BankBranch

开户支行

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "NickName": "sample string 2",
  "RealName": "sample string 3",
  "Sex": 4,
  "HeadImageUrl": "sample string 5",
  "Email": "sample string 6",
  "Sign": "sample string 7",
  "Company": "sample string 8",
  "Mobile": "sample string 9",
  "Area": "sample string 10",
  "AreaText": "sample string 11",
  "Address": "sample string 12",
  "AlipayAccount": "sample string 13",
  "BankAccount": "sample string 14",
  "OpeningBank": "sample string 15",
  "BankBranch": "sample string 16"
}

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

Response Information

Resource Description

完善我的资料/修改个人资料

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.