GET api/UserRole/GetRolePermission?Page={Page}&ItemsPerPage={ItemsPerPage}&SortBy={SortBy}&Reverse={Reverse}&Search={Search}&Date={Date}&Day={Day}&FilterType={FilterType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

ItemsPerPage

integer

None.

SortBy

string

None.

Reverse

boolean

None.

Search

string

None.

Date

date

None.

Day

string

None.

FilterType

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "RoleId": 2,
    "PermissionId": 3,
    "IsAll": true,
    "IsAdd": true,
    "IsUpdate": true,
    "IsDelete": true,
    "IsActive": true,
    "CreatedDate": "2019-05-22T09:55:05.8000581+05:00",
    "CreatedBy": 1,
    "ModifiedDate": "2019-05-22T09:55:05.8000581+05:00",
    "ModifiedBy": 1,
    "IsDeleted": true,
    "RoleName": "sample string 7",
    "PermissionName": "sample string 8"
  },
  {
    "Id": 1,
    "RoleId": 2,
    "PermissionId": 3,
    "IsAll": true,
    "IsAdd": true,
    "IsUpdate": true,
    "IsDelete": true,
    "IsActive": true,
    "CreatedDate": "2019-05-22T09:55:05.8000581+05:00",
    "CreatedBy": 1,
    "ModifiedDate": "2019-05-22T09:55:05.8000581+05:00",
    "ModifiedBy": 1,
    "IsDeleted": true,
    "RoleName": "sample string 7",
    "PermissionName": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAuthLinkRolePermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.UserRoles">
  <AuthLinkRolePermissionModel>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2019-05-22T09:55:05.8000581+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-05-22T09:55:05.8000581+05:00</ModifiedDate>
    <PermissionId>3</PermissionId>
    <PermissionName>sample string 8</PermissionName>
    <RoleId>2</RoleId>
    <RoleName>sample string 7</RoleName>
  </AuthLinkRolePermissionModel>
  <AuthLinkRolePermissionModel>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2019-05-22T09:55:05.8000581+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-05-22T09:55:05.8000581+05:00</ModifiedDate>
    <PermissionId>3</PermissionId>
    <PermissionName>sample string 8</PermissionName>
    <RoleId>2</RoleId>
    <RoleName>sample string 7</RoleName>
  </AuthLinkRolePermissionModel>
</ArrayOfAuthLinkRolePermissionModel>