POST api/CommonAccount/UpdateUserNickname

更新用户昵称

Request Information

URI Parameters

None.

Body Parameters

UpdateUserNickNameModel
NameDescriptionTypeAdditional information
nickname

string

None.

uid

string

None.

pid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nickname": "sample string 1",
  "uid": "sample string 2",
  "pid": 3
}

application/xml, text/xml

Sample:
<UpdateUserNickNameModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <nickname>sample string 1</nickname>
  <pid>3</pid>
  <uid>sample string 2</uid>
</UpdateUserNickNameModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": 2
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 1</Message>
  <Status>2</Status>
</BaseResponse>