GET api/private/Roles/Get/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Domain.Role.RoleName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
RoleTypeId | integer |
None. |
|
RoleType | Domain.Role.RoleType |
None. |
|
Id | integer |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
Disabled | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Description": "sample string 1", "RoleTypeId": 2, "RoleType": { "Description": "sample string 1", "Id": 2, "CreatedDate": "2025-04-25T18:17:38.5277184Z", "ModifiedDate": "2025-04-25T18:17:38.5277184Z", "Disabled": true }, "Id": 3, "CreatedDate": "2025-04-25T18:17:38.5277184Z", "ModifiedDate": "2025-04-25T18:17:38.5277184Z", "Disabled": true }
text/xml
Sample:
<Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Role"> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2025-04-25T14:17:38.5277184-04:00</CreatedDate> <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled> <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">3</Id> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2025-04-25T14:17:38.5277184-04:00</ModifiedDate> <Description>sample string 1</Description> <RoleType> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2025-04-25T14:17:38.5277184-04:00</CreatedDate> <Disabled xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">true</Disabled> <Id xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2</Id> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">2025-04-25T14:17:38.5277184-04:00</ModifiedDate> <Description>sample string 1</Description> </RoleType> <RoleTypeId>2</RoleTypeId> </Role>