GET api/WXNet/Get_token?shopno={shopno}&Code={Code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopno | string |
Required |
|
| Code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OAuth_Token| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| expires_in | string |
None. |
|
| refresh_token | string |
None. |
|
| openid | string |
None. |
|
| scope | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"expires_in": "sample string 2",
"refresh_token": "sample string 3",
"openid": "sample string 4",
"scope": "sample string 5"
}
application/xml, text/xml
Sample:
<WXNetController.OAuth_Token xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LG.APP.APPWEBAPI.Controllers"> <access_token>sample string 1</access_token> <expires_in>sample string 2</expires_in> <openid>sample string 4</openid> <refresh_token>sample string 3</refresh_token> <scope>sample string 5</scope> </WXNetController.OAuth_Token>