POST api/User/Login
Request Information
URI Parameters
None.
Body Parameters
WXUserInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| OpenId | string |
None. |
|
| Session_Key | string |
None. |
|
| NickName | string |
None. |
|
| Gender | integer |
None. |
|
| AvatarUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"OpenId": "sample string 2",
"Session_Key": "sample string 3",
"NickName": "sample string 4",
"Gender": 5,
"AvatarUrl": "sample string 6"
}
application/xml, text/xml
Sample:
<WXUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.Common"> <AvatarUrl>sample string 6</AvatarUrl> <Code>sample string 1</Code> <Gender>5</Gender> <NickName>sample string 4</NickName> <OpenId>sample string 2</OpenId> <Session_Key>sample string 3</Session_Key> </WXUserInfo>
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. |