POST api/AuthShare/RemoveShare
删除分享,以及解绑
H5和APP解绑设备调用
Request Information
Body Parameters
删除分享/解绑参数
RemoveShareModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
用户Id |
integer |
None. |
| DeviceId |
设备Id |
integer |
None. |
| UserGroupId |
分组Id |
integer |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"DeviceId": 2,
"UserGroupId": 3,
"Token": "sample string 4",
"Language": "sample string 5",
"AppId": "sample string 6"
}
application/xml, text/xml
Sample:
<RemoveShareModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 6</AppId> <Language>sample string 5</Language> <Token>sample string 4</Token> <DeviceId>2</DeviceId> <UserGroupId>3</UserGroupId> <UserId>1</UserId> </RemoveShareModel>
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:
<RemoveShareResult 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> </RemoveShareResult>