GET api/UserRole/GetAllUserRole

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AuthLinkUserRoleModel
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

RoleId

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

RoleName

string

None.

UserName

string

None.

UserEmail

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "UserId": "sample string 2",
    "RoleId": 3,
    "IsActive": true,
    "CreatedDate": "2019-07-21T09:35:52.7233795+05:00",
    "CreatedBy": 1,
    "ModifiedDate": "2019-07-21T09:35:52.7233795+05:00",
    "ModifiedBy": 1,
    "IsDeleted": true,
    "RoleName": "sample string 7",
    "UserName": "sample string 8",
    "UserEmail": "sample string 9"
  },
  {
    "Id": 1,
    "UserId": "sample string 2",
    "RoleId": 3,
    "IsActive": true,
    "CreatedDate": "2019-07-21T09:35:52.7233795+05:00",
    "CreatedBy": 1,
    "ModifiedDate": "2019-07-21T09:35:52.7233795+05:00",
    "ModifiedBy": 1,
    "IsDeleted": true,
    "RoleName": "sample string 7",
    "UserName": "sample string 8",
    "UserEmail": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAuthLinkUserRoleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.UserRoles">
  <AuthLinkUserRoleModel>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2019-07-21T09:35:52.7233795+05:00</CreatedDate>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2019-07-21T09:35:52.7233795+05:00</ModifiedDate>
    <RoleId>3</RoleId>
    <RoleName>sample string 7</RoleName>
    <UserEmail>sample string 9</UserEmail>
    <UserId>sample string 2</UserId>
    <UserName>sample string 8</UserName>
  </AuthLinkUserRoleModel>
  <AuthLinkUserRoleModel>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2019-07-21T09:35:52.7233795+05:00</CreatedDate>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2019-07-21T09:35:52.7233795+05:00</ModifiedDate>
    <RoleId>3</RoleId>
    <RoleName>sample string 7</RoleName>
    <UserEmail>sample string 9</UserEmail>
    <UserId>sample string 2</UserId>
    <UserName>sample string 8</UserName>
  </AuthLinkUserRoleModel>
</ArrayOfAuthLinkUserRoleModel>