POST api/RoleBasedAccess/BulkAssignMenusToRole
Request Information
URI Parameters
None.
Body Parameters
AssignMenusRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleID | integer |
None. |
|
| MenuIDs | string |
None. |
|
| CanView | boolean |
None. |
|
| CanAdd | boolean |
None. |
|
| CanEdit | boolean |
None. |
|
| CanDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"roleID": 1,
"menuIDs": "sample string 2",
"canView": true,
"canAdd": true,
"canEdit": true,
"canDelete": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.