POST account/linkexistaccount
lind third party UID info to exist user
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| inVO | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"userScope": {
"platform": 1,
"userName": "sample string 2",
"wechatUID": "sample string 3",
"facebookUID": "sample string 4",
"googleUID": "sample string 5"
},
"code": "sample string 1",
"email": "sample string 2",
"curUserId": "sample string 3",
"isSSO": true,
"requestHost": "sample string 5",
"applicationPath": "sample string 6",
"secureApplicationPath": "sample string 7",
"absoluteApplicationPath": "sample string 8",
"isHttps": true,
"isMobileDevice": true,
"clientType": 0,
"clientVersion": "sample string 11",
"clientOS": "sample string 12",
"clientBuild": "sample string 13",
"timeZone": 14,
"clientId": "sample string 15"
}
application/xml, text/xml
Sample:
<BindEmailVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input">
<ClientId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 15</ClientId>
<ClientType xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">Web</ClientType>
<TimeZone xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">14</TimeZone>
<absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 8</absoluteApplicationPath>
<applicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 6</applicationPath>
<cachedKey xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 1</cachedKey>
<clientBuild xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 13</clientBuild>
<clientOS xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 12</clientOS>
<clientVersion xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 11</clientVersion>
<curUserId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 3</curUserId>
<isHttps xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isHttps>
<isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isMobileDevice>
<isSSO xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isSSO>
<requestHost xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 5</requestHost>
<secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 7</secureApplicationPath>
<Email>sample string 2</Email>
<Code>sample string 1</Code>
<UserScope xmlns:d2p1="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Output.Common">
<d2p1:FacebookUID>sample string 4</d2p1:FacebookUID>
<d2p1:GoogleUID>sample string 5</d2p1:GoogleUID>
<d2p1:Platform>1</d2p1:Platform>
<d2p1:UserName>sample string 2</d2p1:UserName>
<d2p1:WechatUID>sample string 3</d2p1:WechatUID>
</UserScope>
</BindEmailVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"isDone": true,
"code": 0,
"message": "sample string 2",
"cachedKey": "sample string 3",
"correlationId": "5e504f79-d800-45d5-89e2-86babf331bf2",
"data": {
"user": {
"id": "sample string 1",
"email": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"icon": {
"photo": "sample string 1",
"isUseAvatar": true,
"avatarBackgroundColor": "sample string 3",
"avatarName": "sample string 4"
},
"role": 5,
"roleName": "sample string 6",
"gender": "sample string 7",
"birthdate": "2025-12-15T00:56:45.5803347+08:00",
"isWechatLinked": true,
"isFacebookLinked": true,
"isGoogleLinked": true,
"fullName": "sample string 11",
"useState": "sample string 12",
"phone": "sample string 13",
"isoCode": "sample string 14",
"countryCode": "sample string 15",
"language": "sample string 16",
"referralCodeAsAgent": "sample string 17",
"referralCodeAsTeacher": "sample string 18",
"agentReferralCode": "sample string 19",
"teacherReferralCode": "sample string 20",
"reportEmails": "sample string 21",
"disabled": true,
"subagentEnabled": true,
"vipExpiredOn": "sample string 24"
},
"partnerList": [
{
"id": "sample string 1",
"name": "sample string 2",
"addedBy": "sample string 3",
"addedByFullName": "sample string 4",
"partnerUserAddedBy": "sample string 5",
"fullName": "sample string 6",
"role": 0,
"active": true,
"enableProduct": false,
"enableOtherAnswer": true,
"enablePromotion": false,
"enableBbs": true,
"enableOralAndReadBook": true
},
{
"id": "sample string 1",
"name": "sample string 2",
"addedBy": "sample string 3",
"addedByFullName": "sample string 4",
"partnerUserAddedBy": "sample string 5",
"fullName": "sample string 6",
"role": 0,
"active": true,
"enableProduct": false,
"enableOtherAnswer": true,
"enablePromotion": false,
"enableBbs": true,
"enableOralAndReadBook": true
},
{
"id": "sample string 1",
"name": "sample string 2",
"addedBy": "sample string 3",
"addedByFullName": "sample string 4",
"partnerUserAddedBy": "sample string 5",
"fullName": "sample string 6",
"role": 0,
"active": true,
"enableProduct": false,
"enableOtherAnswer": true,
"enablePromotion": false,
"enableBbs": true,
"enableOralAndReadBook": true
}
],
"authorization": {
"accessToken": "sample string 1",
"refreshToken": "sample string 2",
"utcExpiresDate": "2025-12-15T00:56:45.5803347+08:00",
"scope": "sample string 3"
},
"unitTaskParticipants": [
{
"id": 1,
"name": "sample string 2",
"participants": "sample string 3",
"userNames": "sample string 4",
"emails": "sample string 5"
},
{
"id": 1,
"name": "sample string 2",
"participants": "sample string 3",
"userNames": "sample string 4",
"emails": "sample string 5"
},
{
"id": 1,
"name": "sample string 2",
"participants": "sample string 3",
"userNames": "sample string 4",
"emails": "sample string 5"
}
],
"hasJoinAnyClass": true,
"enableLearnFunction": true,
"enableChinesePark": true,
"enableBbsFunction": true,
"enableEnglishSpokenUnit": true
}
}
application/xml, text/xml
Sample:
<ApiResponseOfLoginOutVOFP0KSs_SV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API"> <CachedKey>sample string 3</CachedKey> <Code>None</Code> <CorrelationId>5e504f79-d800-45d5-89e2-86babf331bf2</CorrelationId> <IsDone>true</IsDone> <Message>sample string 2</Message> </ApiResponseOfLoginOutVOFP0KSs_SV>