GET api/Member/Auth/ByThirdPary/Alipay
执行支付宝鉴权登陆。
Request Information
URI Parameters
None.
Body Parameters
AlipayPublicPlatformLoginParmName | Description | Type | Additional information |
---|---|---|---|
granttype |
授权类型 |
string |
Required Max length: 50 |
code |
客户端获得的CODE。 |
string |
Required Max length: 50 |
Request Formats
application/json, text/json
Sample:
{ "granttype": "sample string 1", "code": "sample string 2" }
application/xml, text/xml
Sample:
<AlipayPublicPlatformLoginParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Member"> <code>sample string 2</code> <granttype>sample string 1</granttype> </AlipayPublicPlatformLoginParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
执行支付宝鉴权登陆。
CommonOperationResultWithTagOfPersonalLoginResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PersonalLoginResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "errcode": 1, "errmsg": "sample string 2", "memberid": 3, "memberusername": "sample string 4", "name": "sample string 5", "bindingtoagent": "sample string 6", "agentid": "sample string 7", "agenttypecode": "sample string 8", "agenttypename": "sample string 9", "agentpassword": "sample string 10", "agentkey": "sample string 11", "agentname": "sample string 12", "agentusername": "sample string 13", "openid": "sample string 14" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPersonalLoginResult90Z6Xn9G xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <d2p1:agentid>sample string 7</d2p1:agentid> <d2p1:agentkey>sample string 11</d2p1:agentkey> <d2p1:agentname>sample string 12</d2p1:agentname> <d2p1:agentpassword>sample string 10</d2p1:agentpassword> <d2p1:agenttypecode>sample string 8</d2p1:agenttypecode> <d2p1:agenttypename>sample string 9</d2p1:agenttypename> <d2p1:agentusername>sample string 13</d2p1:agentusername> <d2p1:bindingtoagent>sample string 6</d2p1:bindingtoagent> <d2p1:errcode>1</d2p1:errcode> <d2p1:errmsg>sample string 2</d2p1:errmsg> <d2p1:memberid>3</d2p1:memberid> <d2p1:memberusername>sample string 4</d2p1:memberusername> <d2p1:name>sample string 5</d2p1:name> <d2p1:openid>sample string 14</d2p1:openid> </tag> </CommonOperationResultWithTagOfPersonalLoginResult90Z6Xn9G>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.