GET api/WeChatSL/GetUserByCode
Request Information
URI Parameters
None.
Body Parameters
ReqGetWeChatSLUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| appid | string |
None. |
|
| secret | string |
None. |
|
| code | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"appid": "sample string 1",
"secret": "sample string 1",
"code": "sample string 3"
}
application/xml, text/xml
Sample:
<ReqGetWeChatSLUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ys.Mall.Service"> <appid>sample string 1</appid> <code>sample string 3</code> <secret>sample string 1</secret> </ReqGetWeChatSLUserModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseOfDataBodyContentOfRspUserTokenModel| Name | Description | Type | Additional information |
|---|---|---|---|
| body | DataBodyContentOfRspUserTokenModel |
None. |
|
| header | APIResponseHeader |
None. |
Response Formats
application/json, text/json
Sample:
{
"body": {
"datas": {
"Token": "sample string 1"
}
}
}
application/xml, text/xml
Sample:
<APIResponseOfDataBodyContentOfRspUserTokenModelT2AzrKNAT2AzrKNA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ys.Mall.Service">
<header i:nil="true" />
<body>
<datas>
<Token>sample string 1</Token>
</datas>
</body>
</APIResponseOfDataBodyContentOfRspUserTokenModelT2AzrKNAT2AzrKNA>