POST api/CMS/deptcms/ManageMenuHierarchy

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
modeldata
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "DeptMenuView": [
    {
      "MenuPosition": 1,
      "ContentID": 2,
      "Content": "sample string 3",
      "IsPublished": true,
      "Rank": 5
    },
    {
      "MenuPosition": 1,
      "ContentID": 2,
      "Content": "sample string 3",
      "IsPublished": true,
      "Rank": 5
    },
    {
      "MenuPosition": 1,
      "ContentID": 2,
      "Content": "sample string 3",
      "IsPublished": true,
      "Rank": 5
    }
  ],
  "MenuList": [
    {
      "MenuPosition": 1,
      "ContentID": 2,
      "Content": "sample string 3"
    },
    {
      "MenuPosition": 1,
      "ContentID": 2,
      "Content": "sample string 3"
    },
    {
      "MenuPosition": 1,
      "ContentID": 2,
      "Content": "sample string 3"
    }
  ],
  "DeptID": 1
}

application/xml, text/xml

Sample:
<CMSDeptMenuHierarchyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIST.CMS.ViewModel">
  <DeptID>1</DeptID>
  <DeptMenuView>
    <DeptMenuView>
      <Content>sample string 3</Content>
      <ContentID>2</ContentID>
      <IsPublished>true</IsPublished>
      <MenuPosition>1</MenuPosition>
      <Rank>5</Rank>
    </DeptMenuView>
    <DeptMenuView>
      <Content>sample string 3</Content>
      <ContentID>2</ContentID>
      <IsPublished>true</IsPublished>
      <MenuPosition>1</MenuPosition>
      <Rank>5</Rank>
    </DeptMenuView>
    <DeptMenuView>
      <Content>sample string 3</Content>
      <ContentID>2</ContentID>
      <IsPublished>true</IsPublished>
      <MenuPosition>1</MenuPosition>
      <Rank>5</Rank>
    </DeptMenuView>
  </DeptMenuView>
  <MenuList>
    <DeptMenulist>
      <Content>sample string 3</Content>
      <ContentID>2</ContentID>
      <MenuPosition>1</MenuPosition>
    </DeptMenulist>
    <DeptMenulist>
      <Content>sample string 3</Content>
      <ContentID>2</ContentID>
      <MenuPosition>1</MenuPosition>
    </DeptMenulist>
    <DeptMenulist>
      <Content>sample string 3</Content>
      <ContentID>2</ContentID>
      <MenuPosition>1</MenuPosition>
    </DeptMenulist>
  </MenuList>
</CMSDeptMenuHierarchyViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>