POST api/MenuMaster/insertMenu
Request Information
URI Parameters
None.
Body Parameters
MenuMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Menuid | integer |
None. |
|
| MenuName | string |
None. |
|
| Description | string |
None. |
|
| MenuUrl | string |
None. |
|
| ParentMenuId | integer |
None. |
|
| MenuLevel | integer |
None. |
|
| Isdelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Menuid": 1,
"MenuName": "sample string 2",
"Description": "sample string 3",
"MenuUrl": "sample string 4",
"ParentMenuId": 1,
"MenuLevel": 1,
"Isdelete": true
}
application/xml, text/xml
Sample:
<MenuMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarDichachi"> <Description>sample string 3</Description> <Isdelete>true</Isdelete> <MenuLevel>1</MenuLevel> <MenuName>sample string 2</MenuName> <MenuUrl>sample string 4</MenuUrl> <Menuid>1</Menuid> <ParentMenuId>1</ParentMenuId> </MenuMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>