POST api/AuthShare/RemoveShare

Delete and share, and unbind

Request Information

Body Parameters

Delete the share/unbind parameters

RemoveShareModel
NameDescriptionTypeAdditional information
UserId

user id

integer

None.

DeviceId

device id

integer

None.

UserGroupId

Grouping Id

integer

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

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 value:
0. Indicates success
4000. Says failure

RemoveShareResult
NameDescriptionTypeAdditional information
Message

string

None.

State

status code

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>