POST api/menu/save
Request Information
URI Parameters
None.
Body Parameters
MenumasterModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Caption | string |
None. |
|
FormID | integer |
None. |
|
HasChild | boolean |
None. |
|
ParentID | integer |
None. |
|
Icon | string |
None. |
|
MenuGroupID | integer |
None. |
|
SeqNo | integer |
None. |
|
IsActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Caption": "sample string 3", "FormID": 4, "HasChild": true, "ParentID": 6, "Icon": "sample string 7", "MenuGroupID": 8, "SeqNo": 9, "IsActive": true, "IsDeleted": true, "CreatedBy": 12 }
application/xml, text/xml
Sample:
<MenumasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models"> <Caption>sample string 3</Caption> <CreatedBy>12</CreatedBy> <FormID>4</FormID> <HasChild>true</HasChild> <ID>1</ID> <Icon>sample string 7</Icon> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <MenuGroupID>8</MenuGroupID> <Name>sample string 2</Name> <ParentID>6</ParentID> <SeqNo>9</SeqNo> </MenumasterModel>
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.