POST api/UserRole/DeleteUserPermissions

Request Information

URI Parameters

None.

Body Parameters

AuthLinkRolePermissionModel
NameDescriptionTypeAdditional information
Id

integer

None.

RoleId

integer

None.

PermissionId

integer

None.

IsAll

boolean

None.

IsAdd

boolean

None.

IsUpdate

boolean

None.

IsDelete

boolean

None.

IsActive

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

RoleName

string

None.

PermissionName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RoleId": 2,
  "PermissionId": 3,
  "IsAll": true,
  "IsAdd": true,
  "IsUpdate": true,
  "IsDelete": true,
  "IsActive": true,
  "CreatedDate": "2019-10-16T21:57:27.8245495+05:00",
  "CreatedBy": 1,
  "ModifiedDate": "2019-10-16T21:57:27.8245495+05:00",
  "ModifiedBy": 1,
  "IsDeleted": true,
  "RoleName": "sample string 7",
  "PermissionName": "sample string 8"
}

application/xml, text/xml

Sample:
<AuthLinkRolePermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.UserRoles">
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2019-10-16T21:57:27.8245495+05:00</CreatedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsAdd>true</IsAdd>
  <IsAll>true</IsAll>
  <IsDelete>true</IsDelete>
  <IsDeleted>true</IsDeleted>
  <IsUpdate>true</IsUpdate>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2019-10-16T21:57:27.8245495+05:00</ModifiedDate>
  <PermissionId>3</PermissionId>
  <PermissionName>sample string 8</PermissionName>
  <RoleId>2</RoleId>
  <RoleName>sample string 7</RoleName>
</AuthLinkRolePermissionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.