POST api/CommonAccount/MobileBindWx

Request Information

URI Parameters

None.

Body Parameters

MobileBindWxReq
NameDescriptionTypeAdditional information
Mobile

string

None.

UnionId

string

None.

OpenId

string

None.

Name

string

None.

EncodeName

string

None.

AccessToken

string

None.

RefreshToken

string

None.

IconUrl

string

None.

Expires_In

string

None.

City

string

None.

Province

string

None.

Country

string

None.

Language

string

None.

Gender

string

None.

Imei

string

None.

ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mobile": "sample string 1",
  "UnionId": "sample string 2",
  "OpenId": "sample string 3",
  "Name": "sample string 4",
  "EncodeName": "sample string 5",
  "AccessToken": "sample string 6",
  "RefreshToken": "sample string 7",
  "IconUrl": "sample string 8",
  "Expires_In": "sample string 9",
  "City": "sample string 10",
  "Province": "sample string 11",
  "Country": "sample string 12",
  "Language": "sample string 13",
  "Gender": "sample string 14",
  "Imei": "sample string 15",
  "ProductId": 16,
  "Token": "sample string 17",
  "ChannalId": "sample string 18",
  "Version": "sample string 19",
  "language": "sample string 20"
}

application/xml, text/xml

Sample:
<MobileBindWxReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <ChannalId>sample string 18</ChannalId>
  <ProductId>16</ProductId>
  <Token>sample string 17</Token>
  <Version>sample string 19</Version>
  <language>sample string 20</language>
  <AccessToken>sample string 6</AccessToken>
  <City>sample string 10</City>
  <Country>sample string 12</Country>
  <EncodeName>sample string 5</EncodeName>
  <Expires_In>sample string 9</Expires_In>
  <Gender>sample string 14</Gender>
  <IconUrl>sample string 8</IconUrl>
  <Imei>sample string 15</Imei>
  <Language>sample string 13</Language>
  <Mobile>sample string 1</Mobile>
  <Name>sample string 4</Name>
  <OpenId>sample string 3</OpenId>
  <Province>sample string 11</Province>
  <RefreshToken>sample string 7</RefreshToken>
  <UnionId>sample string 2</UnionId>
</MobileBindWxReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MobileBindWxRes
NameDescriptionTypeAdditional information
Status

integer

None.

Token

string

None.

UnionId

string

None.

HeadUrl

string

None.

Province

string

None.

City

string

None.

NickName

string

None.

Message

string

None.

ShareCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Token": "sample string 2",
  "UnionId": "sample string 3",
  "HeadUrl": "sample string 4",
  "Province": "sample string 5",
  "City": "sample string 6",
  "NickName": "sample string 7",
  "Message": "sample string 8",
  "ShareCode": "sample string 9"
}

application/xml, text/xml

Sample:
<MobileBindWxRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <City>sample string 6</City>
  <HeadUrl>sample string 4</HeadUrl>
  <Message>sample string 8</Message>
  <NickName>sample string 7</NickName>
  <Province>sample string 5</Province>
  <ShareCode>sample string 9</ShareCode>
  <Status>1</Status>
  <Token>sample string 2</Token>
  <UnionId>sample string 3</UnionId>
</MobileBindWxRes>