POST api/XcxBase/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.

uid

账号id

integer

None.

token

token

string

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",
  "uid": 8,
  "token": "sample string 9"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Code

integer

None.

Msg

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/LyWebApi.Models">
  <Code>1</Code>
  <Msg>sample string 2</Msg>
</BaseResult>