POST api/XiaoChengXu/updateUserWxInfo

Request Information

URI Parameters

None.

Body Parameters

updateUserWxInfoPost
NameDescriptionTypeAdditional information
avatarUrl

string

None.

city

string

None.

country

string

None.

gender

character

None.

language

string

None.

nickName

string

None.

province

string

None.

signature

string

None.

encryptedData

string

None.

iv

string

None.

openid

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "avatarUrl": "sample string 1",
  "city": "sample string 2",
  "country": "sample string 3",
  "gender": "A",
  "language": "sample string 5",
  "nickName": "sample string 6",
  "province": "sample string 7",
  "signature": "sample string 8",
  "encryptedData": "sample string 9",
  "iv": "sample string 10",
  "openid": "sample string 11",
  "token": "sample string 12",
  "uid": 1
}

application/xml, text/xml

Sample:
<updateUserWxInfoPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <openid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 11</openid>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 12</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <avatarUrl>sample string 1</avatarUrl>
  <city>sample string 2</city>
  <country>sample string 3</country>
  <encryptedData>sample string 9</encryptedData>
  <gender>65</gender>
  <iv>sample string 10</iv>
  <language>sample string 5</language>
  <nickName>sample string 6</nickName>
  <province>sample string 7</province>
  <signature>sample string 8</signature>
</updateUserWxInfoPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
code

状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在...

integer

None.

msg

成功或者错误的说明,例如:登录成功,token过期...

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <code>1</code>
  <msg>sample string 2</msg>
</BaseResult>