POST api/GetAllMenu
Request Information
URI Parameters
None.
Body Parameters
clsMenu| Name | Description | Type | Additional information |
|---|---|---|---|
| intId | integer |
None. |
|
| strMenuName | string |
Required Max length: 150 |
|
| strMenuUrl | string |
None. |
|
| intParentMenuId | integer |
None. |
|
| strMenuIcon | string |
None. |
|
| strParentMenuName | string |
None. |
|
| lstMenu | Collection of clsDataValue |
None. |
|
| ErrorCode | integer |
None. |
|
| AutoID | integer |
None. |
|
| ErrorMsg | string |
None. |
|
| Type | string |
None. |
|
| bisalive | boolean |
None. |
|
| strAction | string |
None. |
|
| intCreatedBy | integer |
None. |
|
| intcompany_id | integer |
None. |
|
| dteCreatedDate | date |
None. |
|
| intModifyBy | integer |
None. |
|
| dteModifyDate | date |
None. |
|
| PageNo | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalRecord | integer |
None. |
|
| strSearchText | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"intId": 1,
"strMenuName": "sample string 2",
"strMenuUrl": "sample string 3",
"intParentMenuId": 4,
"strMenuIcon": "sample string 5",
"strParentMenuName": "sample string 6",
"lstMenu": [
{
"DataValue": 1,
"DisplayValue": "sample string 2",
"strKey": "sample string 3",
"strValue": "sample string 4"
},
{
"DataValue": 1,
"DisplayValue": "sample string 2",
"strKey": "sample string 3",
"strValue": "sample string 4"
}
],
"ErrorCode": 7,
"AutoID": 8,
"ErrorMsg": "sample string 9",
"Type": "sample string 10",
"bisalive": true,
"strAction": "sample string 12",
"intCreatedBy": 1,
"intcompany_id": 1,
"dteCreatedDate": "2025-12-11T11:02:13.3718088+00:00",
"intModifyBy": 1,
"dteModifyDate": "2025-12-11T11:02:13.3718088+00:00",
"PageNo": 13,
"PageSize": 14,
"TotalRecord": 15,
"strSearchText": "sample string 16"
}
application/xml, text/xml
Sample:
<clsMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity.Model">
<AutoID xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">8</AutoID>
<ErrorCode xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">7</ErrorCode>
<ErrorMsg xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 9</ErrorMsg>
<PageNo xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">13</PageNo>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">14</PageSize>
<TotalRecord xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">15</TotalRecord>
<Type xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 10</Type>
<bisalive xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">true</bisalive>
<dteCreatedDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:02:13.3718088+00:00</dteCreatedDate>
<dteModifyDate xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">2025-12-11T11:02:13.3718088+00:00</dteModifyDate>
<intCreatedBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intCreatedBy>
<intModifyBy xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intModifyBy>
<intcompany_id xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">1</intcompany_id>
<strAction xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 12</strAction>
<strSearchText xmlns="http://schemas.datacontract.org/2004/07/PozitivePlanetCentral.Entity">sample string 16</strSearchText>
<intId>1</intId>
<intParentMenuId>4</intParentMenuId>
<lstMenu>
<clsDataValue>
<DataValue>1</DataValue>
<DisplayValue>sample string 2</DisplayValue>
<strKey>sample string 3</strKey>
<strValue>sample string 4</strValue>
</clsDataValue>
<clsDataValue>
<DataValue>1</DataValue>
<DisplayValue>sample string 2</DisplayValue>
<strKey>sample string 3</strKey>
<strValue>sample string 4</strValue>
</clsDataValue>
</lstMenu>
<strMenuIcon>sample string 5</strMenuIcon>
<strMenuName>sample string 2</strMenuName>
<strMenuUrl>sample string 3</strMenuUrl>
<strParentMenuName>sample string 6</strParentMenuName>
</clsMenu>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.