POST api/{area}/LinkUser
绑定现有用户到第三方应用
Request Information
Body Parameters
相关参数
LinkUser| Name | Description | Type | Additional information |
|---|---|---|---|
| appId |
第三方应用APPID |
integer |
None. |
| appSecret |
第三方应用SECRET |
string |
None. |
| code |
用户授权码 |
string |
None. |
| mobile |
手机号 |
string |
None. |
| orgId |
组织机构ID |
integer |
None. |
| userId |
第三方应用用户ID |
string |
None. |
| password |
第三方应用用户密码 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"appid": 1,
"appsecret": "sample string 2",
"code": "sample string 3",
"mobile": "sample string 4",
"orgid": 5,
"userid": "sample string 6",
"password": "sample string 7"
}
application/xml, text/xml
Sample:
<LinkUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.OAuth2.Models"> <appId>1</appId> <appSecret>sample string 2</appSecret> <code>sample string 3</code> <mobile>sample string 4</mobile> <orgId>5</orgId> <password>sample string 7</password> <userId>sample string 6</userId> </LinkUser>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
绑定现有用户到第三方应用
SucceedResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| result |
结果字符串 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": "succeeded"
}