POST VueApi/getWeiXin
根据code获取accesstoken
Request Information
URI Parameters
None.
Body Parameters
GetWxReqModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| fLanId | integer |
None. |
|
| fAgentId | integer |
None. |
|
| fBook | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"fLanId": 2,
"fAgentId": 3,
"fBook": 4
}
application/xml, text/xml
Sample:
<GetWxReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel.Models.Vue"> <code>sample string 1</code> <fAgentId>3</fAgentId> <fBook>4</fBook> <fLanId>2</fLanId> </GetWxReqModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetWxResModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| fWeiXin | string |
None. |
|
| fUserId | integer |
None. |
|
| error | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"fWeiXin": "sample string 2",
"fUserId": 3,
"error": 4,
"Msg": "sample string 5"
}
application/xml, text/xml
Sample:
<GetWxResModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi"> <Msg>sample string 5</Msg> <error>4</error> <AccessToken>sample string 1</AccessToken> <fUserId>3</fUserId> <fWeiXin>sample string 2</fWeiXin> </GetWxResModel>