POST api/CommonAccount/CommonWxOAuth

Request Information

URI Parameters

None.

Body Parameters

WxAouthReq
NameDescriptionTypeAdditional information
code

string

None.

pid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "pid": 1
}

application/xml, text/xml

Sample:
<WxAouthReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <code>sample string 1</code>
  <pid>1</pid>
</WxAouthReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WxAouthLoginRes
NameDescriptionTypeAdditional information
uid

string

None.

State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "State": 2,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<WxAouthLoginRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 3</Message>
  <State>2</State>
  <uid>sample string 1</uid>
</WxAouthLoginRes>