GET api/GetRoleById?RoleId={RoleId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
RoleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiPostResponseOfRoleModelName | Description | Type | Additional information |
---|---|---|---|
Data | RoleModel |
None. |
|
Success | boolean |
None. |
|
Message | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "RoleId": 1, "RoleName": "sample string 2", "RoleRights": [ { "MenuId": 1, "MenuName": "sample string 2", "MenuLevel": 3, "ViewRight": true, "CreateRight": true, "EditRight": true, "DeleteRight": true }, { "MenuId": 1, "MenuName": "sample string 2", "MenuLevel": 3, "ViewRight": true, "CreateRight": true, "EditRight": true, "DeleteRight": true } ], "Status": 1, "CreatedBy": 1, "strRoleRights": "sample string 3", "Key": "sample string 4" }, "Success": true, "Message": [ "sample string 1", "sample string 2" ] }