POST api/ThirdParty/UnBindThirdParty
解除第三方登录绑定
Request Information
Body Parameters
ThirdPartyInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ThirdID |
id |
string |
None. |
| ThirdType |
类型 |
integer |
None. |
| ThirdName |
名称 |
string |
None. |
| ThirdImg |
图片 |
string |
None. |
| UserID |
用户 id |
integer |
None. |
| LoginName |
登录名 |
string |
None. |
| Password |
密码 |
string |
None. |
| Language |
语言 |
string |
None. |
| AppId |
APP Id |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ThirdID": "sample string 1",
"ThirdType": 2,
"ThirdName": "sample string 3",
"ThirdImg": "sample string 4",
"UserID": 5,
"LoginName": "sample string 6",
"Password": "sample string 7",
"Language": "sample string 8",
"AppId": "sample string 9"
}
application/xml, text/xml
Sample:
<ThirdPartyInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 9</AppId> <Language>sample string 8</Language> <LoginName>sample string 6</LoginName> <Password>sample string 7</Password> <ThirdID>sample string 1</ThirdID> <ThirdImg>sample string 4</ThirdImg> <ThirdName>sample string 3</ThirdName> <ThirdType>2</ThirdType> <UserID>5</UserID> </ThirdPartyInfo>
Response Information
Resource Description
State状态码:
0. 成功
4000. 失败
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message |
消息 [大多数情况下可通过该消息做为提示语] |
string |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"State": 2
}
application/xml, text/xml
Sample:
<NormalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel"> <State>2</State> <Message>sample string 1</Message> </NormalResult>