POST api/values/RevokePermissionForUser

Request Information

URI Parameters

None.

Body Parameters

RevokePermissionResult
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

ListID

string

None.

DestinationList

string

None.

SourceList

string

None.

PermissionToSrc

boolean

None.

PermissionToDest

boolean

None.

PermissionToSite

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Email": "sample string 2",
  "ListID": "sample string 3",
  "DestinationList": "sample string 4",
  "SourceList": "sample string 5",
  "PermissionToSrc": true,
  "PermissionToDest": true,
  "PermissionToSite": true
}

application/xml, text/xml

Sample:
<ValuesController.RevokePermissionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KPMG.RFP.Admin.Service.Controllers">
  <DestinationList>sample string 4</DestinationList>
  <Email>sample string 2</Email>
  <Id>1</Id>
  <ListID>sample string 3</ListID>
  <PermissionToDest>true</PermissionToDest>
  <PermissionToSite>true</PermissionToSite>
  <PermissionToSrc>true</PermissionToSrc>
  <SourceList>sample string 5</SourceList>
</ValuesController.RevokePermissionResult>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RevokePermissionResult'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.