POST api/Wechat/Login
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
req | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "code": "sample string 1", "brandCode": "sample string 2" }
application/xml, text/xml
Sample:
<WxLoginReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INNO.Entity.Wechat"> <brandCode>sample string 2</brandCode> <code>sample string 1</code> </WxLoginReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "data": { "sessionId": "sample string 1", "token": "sample string 2", "openId": "sample string 3", "unionId": "sample string 4", "realOpenId": "sample string 5" }, "code": "sample string 1", "msg": "sample string 2" }
application/xml, text/xml
Sample:
<DataResultOfWxLoginResprkDIN9CK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INNO.Entity"> <code>sample string 1</code> <msg>sample string 2</msg> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/INNO.Entity.Wechat"> <d2p1:openId>sample string 3</d2p1:openId> <d2p1:realOpenId>sample string 5</d2p1:realOpenId> <d2p1:sessionId>sample string 1</d2p1:sessionId> <d2p1:token>sample string 2</d2p1:token> <d2p1:unionId>sample string 4</d2p1:unionId> </data> </DataResultOfWxLoginResprkDIN9CK>