POST api/Menu/CreateMenu
Request Information
URI Parameters
None.
Body Parameters
Menu| Name | Description | Type | Additional information |
|---|---|---|---|
| SNo | integer |
None. |
|
| SNoEnc | string |
None. |
|
| MenuCode | string |
None. |
|
| MenuName | string |
None. |
|
| SchoolCode | string |
None. |
|
| Description | string |
None. |
|
| ParentID | integer |
None. |
|
| OrderNo | integer |
None. |
|
| ImagePath | string |
None. |
|
| FormName | string |
None. |
|
| FormType | string |
None. |
|
| IsQuickaccess | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| IsMenu | boolean |
None. |
|
| Status | boolean |
None. |
|
| DefaultAdmin | boolean |
None. |
|
| DefaultFaculty | boolean |
None. |
|
| DefaultStaff | boolean |
None. |
|
| DefaultParent | boolean |
None. |
|
| PageNumber | integer |
None. |
|
| PageSize | integer |
None. |
|
| ColSearchContent | string |
None. |
|
| ColSortActive | string |
None. |
|
| ColSortDirection | string |
None. |
|
| LongStr | string |
None. |
|
| OrderBy | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"SNo": 1,
"SNoEnc": "sample string 2",
"MenuCode": "sample string 3",
"MenuName": "sample string 4",
"SchoolCode": "sample string 5",
"Description": "sample string 6",
"ParentID": 7,
"OrderNo": 8,
"ImagePath": "sample string 9",
"FormName": "sample string 10",
"FormType": "sample string 11",
"IsQuickaccess": true,
"IsActive": true,
"IsMenu": true,
"Status": true,
"DefaultAdmin": true,
"DefaultFaculty": true,
"DefaultStaff": true,
"DefaultParent": true,
"PageNumber": 20,
"PageSize": 21,
"ColSearchContent": "sample string 22",
"ColSortActive": "sample string 23",
"ColSortDirection": "sample string 24",
"LongStr": "sample string 25",
"OrderBy": "sample string 26",
"CreatedBy": "sample string 27",
"CreatedOn": "2026-02-05T06:03:55.745727+05:30",
"ModifiedBy": "sample string 29",
"ModifiedOn": "2026-02-05T06:03:55.745727+05:30"
}
application/xml, text/xml
Sample:
<Menu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NSMS_WebAPI.Models"> <ColSearchContent>sample string 22</ColSearchContent> <ColSortActive>sample string 23</ColSortActive> <ColSortDirection>sample string 24</ColSortDirection> <CreatedBy>sample string 27</CreatedBy> <CreatedOn>2026-02-05T06:03:55.745727+05:30</CreatedOn> <DefaultAdmin>true</DefaultAdmin> <DefaultFaculty>true</DefaultFaculty> <DefaultParent>true</DefaultParent> <DefaultStaff>true</DefaultStaff> <Description>sample string 6</Description> <FormName>sample string 10</FormName> <FormType>sample string 11</FormType> <ImagePath>sample string 9</ImagePath> <IsActive>true</IsActive> <IsMenu>true</IsMenu> <IsQuickaccess>true</IsQuickaccess> <LongStr>sample string 25</LongStr> <MenuCode>sample string 3</MenuCode> <MenuName>sample string 4</MenuName> <ModifiedBy>sample string 29</ModifiedBy> <ModifiedOn>2026-02-05T06:03:55.745727+05:30</ModifiedOn> <OrderBy>sample string 26</OrderBy> <OrderNo>8</OrderNo> <PageNumber>20</PageNumber> <PageSize>21</PageSize> <ParentID>7</ParentID> <SNo>1</SNo> <SNoEnc>sample string 2</SNoEnc> <SchoolCode>sample string 5</SchoolCode> <Status>true</Status> </Menu>
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.