GET api/Role/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

role_data_dc
NameDescriptionTypeAdditional information
RoleId

integer

None.

RoleName

string

None.

Roledesc

string

None.

IsActive

boolean

None.

CustomRole

boolean

None.

SystemId

integer

None.

CreatedBy

integer

None.

LastModifiedBy

integer

None.

LastUpdatedDateTime

date

None.

IsDeleted

boolean

None.

RoleType

string

None.

OrgCodes

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RoleId": 1,
  "RoleName": "sample string 1",
  "Roledesc": "sample string 2",
  "IsActive": true,
  "CustomRole": true,
  "SystemId": 3,
  "CreatedBy": 1,
  "LastModifiedBy": 1,
  "LastUpdatedDateTime": "2025-07-18T15:56:27.0925341+00:00",
  "IsDeleted": true,
  "RoleType": "sample string 4",
  "OrgCodes": "sample string 5"
}

application/xml, text/xml

Sample:
<role_data_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
  <CreatedBy>1</CreatedBy>
  <CustomRole>true</CustomRole>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <LastModifiedBy>1</LastModifiedBy>
  <LastUpdatedDateTime>2025-07-18T15:56:27.0925341+00:00</LastUpdatedDateTime>
  <OrgCodes>sample string 5</OrgCodes>
  <RoleId>1</RoleId>
  <RoleName>sample string 1</RoleName>
  <RoleType>sample string 4</RoleType>
  <Roledesc>sample string 2</Roledesc>
  <SystemId>3</SystemId>
</role_data_dc>