POST api/XiaoChengXu/xcxGetHuiYuanBaseInfo

Request Information

URI Parameters

None.

Body Parameters

xcxBasePost
NameDescriptionTypeAdditional information
openid

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "openid": "sample string 1",
  "token": "sample string 2",
  "uid": 1
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

xcxGetHuiYuanBaseInfoResult
NameDescriptionTypeAdditional information
headimg

string

None.

nickname

string

None.

tel

string

None.

coin

integer

None.

allcoin

integer

None.

usercode

string

None.

coupon

integer

None.

code

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

integer

None.

msg

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "headimg": "sample string 1",
  "nickname": "sample string 2",
  "tel": "sample string 3",
  "coin": 4,
  "allcoin": 5,
  "usercode": "sample string 6",
  "coupon": 7,
  "code": 8,
  "msg": "sample string 9"
}

application/xml, text/xml

Sample:
<xcxGetHuiYuanBaseInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <code xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">8</code>
  <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 9</msg>
  <allcoin>5</allcoin>
  <coin>4</coin>
  <coupon>7</coupon>
  <headimg>sample string 1</headimg>
  <nickname>sample string 2</nickname>
  <tel>sample string 3</tel>
  <usercode>sample string 6</usercode>
</xcxGetHuiYuanBaseInfoResult>