POST admin/ApplicationRole/Save
Request Information
URI Parameters
None.
Body Parameters
ApplicationRoleName | Description | Type | Additional information |
---|---|---|---|
RoleId | integer |
None. |
|
ClientId | integer |
None. |
|
RoleName | string |
Max length: 255 |
|
Description | string |
Max length: 255 |
|
SystemGenerated | boolean |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedOn | date |
None. |
|
ApplicationComponent | Collection of ApplicationComponent |
None. |
Request Formats
application/json, text/json
Sample:
{ "RoleId": 1, "ClientId": 1, "RoleName": "sample string 2", "Description": "sample string 3", "SystemGenerated": true, "CreatedBy": "sample string 5", "CreatedOn": "2025/03/28 13:21:41", "UpdatedBy": "sample string 7", "UpdatedOn": "2025/03/28 13:21:41", "ApplicationComponent": [ { "ModuleId": 1, "ModuleCode": "sample string 2", "ModuleDescription": "sample string 3", "ComponentId": 4, "Category": "sample string 5", "CategoryDescription": "sample string 6", "ComponentCode": "sample string 7", "ComponentDescription": "sample string 8", "AccessType": "sample string 9", "ParentCategory": "sample string 10", "SortOrder": 1 }, { "ModuleId": 1, "ModuleCode": "sample string 2", "ModuleDescription": "sample string 3", "ComponentId": 4, "Category": "sample string 5", "CategoryDescription": "sample string 6", "ComponentCode": "sample string 7", "ComponentDescription": "sample string 8", "AccessType": "sample string 9", "ParentCategory": "sample string 10", "SortOrder": 1 } ] }
application/xml, text/xml
Sample:
<ApplicationRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Account.DTO.Library.Security"> <ApplicationComponent> <ApplicationComponent> <AccessType>sample string 9</AccessType> <Category>sample string 5</Category> <CategoryDescription>sample string 6</CategoryDescription> <ComponentCode>sample string 7</ComponentCode> <ComponentDescription>sample string 8</ComponentDescription> <ComponentId>4</ComponentId> <ModuleCode>sample string 2</ModuleCode> <ModuleDescription>sample string 3</ModuleDescription> <ModuleId>1</ModuleId> <ParentCategory>sample string 10</ParentCategory> <SortOrder>1</SortOrder> </ApplicationComponent> <ApplicationComponent> <AccessType>sample string 9</AccessType> <Category>sample string 5</Category> <CategoryDescription>sample string 6</CategoryDescription> <ComponentCode>sample string 7</ComponentCode> <ComponentDescription>sample string 8</ComponentDescription> <ComponentId>4</ComponentId> <ModuleCode>sample string 2</ModuleCode> <ModuleDescription>sample string 3</ModuleDescription> <ModuleId>1</ModuleId> <ParentCategory>sample string 10</ParentCategory> <SortOrder>1</SortOrder> </ApplicationComponent> </ApplicationComponent> <ClientId>1</ClientId> <Description>sample string 3</Description> <RoleId>1</RoleId> <RoleName>sample string 2</RoleName> <SystemGenerated>true</SystemGenerated> </ApplicationRole>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ITypedResponseOfApplicationRoleName | Description | Type | Additional information |
---|---|---|---|
Result | ApplicationRole |
None. |
|
Category | string |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.