GET api/UserRole/GetAllPermission

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AuthPermissionsModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

PermissionTypeId

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "PermissionTypeId": 1,
    "IsActive": true,
    "CreatedDate": "2019-07-21T10:07:29.4432282+05:00",
    "CreatedBy": 1,
    "ModifiedDate": "2019-07-21T10:07:29.4432282+05:00",
    "ModifiedBy": 1,
    "IsDeleted": true
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "PermissionTypeId": 1,
    "IsActive": true,
    "CreatedDate": "2019-07-21T10:07:29.4432282+05:00",
    "CreatedBy": 1,
    "ModifiedDate": "2019-07-21T10:07:29.4432282+05:00",
    "ModifiedBy": 1,
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAuthPermissionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.UserRoles">
  <AuthPermissionsModel>
    <Code>sample string 2</Code>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2019-07-21T10:07:29.4432282+05:00</CreatedDate>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2019-07-21T10:07:29.4432282+05:00</ModifiedDate>
    <Name>sample string 3</Name>
    <PermissionTypeId>1</PermissionTypeId>
  </AuthPermissionsModel>
  <AuthPermissionsModel>
    <Code>sample string 2</Code>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2019-07-21T10:07:29.4432282+05:00</CreatedDate>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2019-07-21T10:07:29.4432282+05:00</ModifiedDate>
    <Name>sample string 3</Name>
    <PermissionTypeId>1</PermissionTypeId>
  </AuthPermissionsModel>
</ArrayOfAuthPermissionsModel>