POST api/RoleManagement/SaveRole
Request Information
URI Parameters
None.
Body Parameters
SecRole| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleId | integer |
None. |
|
| RoleName | string |
None. |
|
| RoleDescription | string |
None. |
|
| Status | boolean |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedMachineIP | string |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedMachineIP | string |
None. |
|
| DeleteStatus | boolean |
None. |
|
| SecUsers | Collection of SecUser |
None. |
|
| SecRoleModules | Collection of SecRoleModule |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
multipart/form-data
Sample:
Sample not available.
application/octet-stream
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| Msg | Object |
None. |
|
| token | Object |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {}
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{}}