POST api/v3/Roles/menu/mapping
Request Information
URI Parameters
None.
Body Parameters
Collection of PermissionRoleVMName | Description | Type | Additional information |
---|---|---|---|
PId | integer |
None. |
|
RId | integer |
None. |
|
OStatus | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "PId": 1, "RId": 2, "OStatus": true }, { "PId": 1, "RId": 2, "OStatus": true } ]
text/html
Sample:
[{"PId":1,"RId":2,"OStatus":true},{"PId":1,"RId":2,"OStatus":true}]
text/xml
Sample:
<ArrayOfPermissionRoleVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <PermissionRoleVM> <OStatus>true</OStatus> <PId>1</PId> <RId>2</RId> </PermissionRoleVM> <PermissionRoleVM> <OStatus>true</OStatus> <PId>1</PId> <RId>2</RId> </PermissionRoleVM> </ArrayOfPermissionRoleVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>