POST api/User/LoginByWechat
Request Information
URI Parameters
None.
Body Parameters
WechatLoginEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| NickName | string |
None. |
|
| Gender | integer |
None. |
|
| City | string |
None. |
|
| Province | string |
None. |
|
| Country | string |
None. |
|
| Code | string |
None. |
|
| IconPath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"nickName": "sample string 1",
"gender": 2,
"city": "sample string 3",
"province": "sample string 4",
"country": "sample string 5",
"code": "sample string 6",
"iconPath": "sample string 7"
}
application/xml, text/xml
Sample:
<WechatLoginEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vis.Entity"> <City>sample string 3</City> <Code>sample string 6</Code> <Country>sample string 5</Country> <Gender>2</Gender> <IconPath>sample string 7</IconPath> <NickName>sample string 1</NickName> <Province>sample string 4</Province> </WechatLoginEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |