POST RoleMenus/Add
Request Information
URI Parameters
None.
Body Parameters
RoleMenus| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| RoleID | integer |
None. |
|
| MenuID | integer |
None. |
|
| IsUse | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"RoleID": 2,
"MenuID": 3,
"IsUse": true
}
application/xml, text/xml
Sample:
<RoleMenus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Models"> <ID>1</ID> <IsUse>true</IsUse> <MenuID>3</MenuID> <RoleID>2</RoleID> </RoleMenus>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.