MenuWebService


Click here for a complete list of operations.

AddMenuItem

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/Admin/MenuManager/MenuWebService.asmx HTTP/1.1
Host: bishwojyoti.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AddMenuItem"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddMenuItem xmlns="http://tempuri.org/">
      <objInfo>
        <MenuID>int</MenuID>
        <MenuItemID>int</MenuItemID>
        <MenuName>string</MenuName>
        <IsDefault>boolean</IsDefault>
        <MenuTypeStyle>string</MenuTypeStyle>
        <MenuHeaderText>string</MenuHeaderText>
        <ShowImage>boolean</ShowImage>
        <Showtext>boolean</Showtext>
        <SettingKey>string</SettingKey>
        <SettingValue>string</SettingValue>
        <PortalID>int</PortalID>
        <UserModuleID>int</UserModuleID>
        <AddedBy>string</AddedBy>
        <IsActive>boolean</IsActive>
        <UpdatedBy>string</UpdatedBy>
        <DisplayMode>string</DisplayMode>
        <TopMenuSubType>string</TopMenuSubType>
        <SubTitleLevel>string</SubTitleLevel>
        <SelectedMenu>string</SelectedMenu>
        <PageID>int</PageID>
        <MenuType>string</MenuType>
        <PageOrder>int</PageOrder>
        <PageName>string</PageName>
        <ParentID>int</ParentID>
        <Level>int</Level>
        <LevelPageName>string</LevelPageName>
        <ChildCount>int</ChildCount>
        <SEOName>string</SEOName>
        <TabPath>string</TabPath>
        <SubText>string</SubText>
        <IsVisible>boolean</IsVisible>
        <ShowInMenu>boolean</ShowInMenu>
        <LinkType>string</LinkType>
        <Title>string</Title>
        <LinkURL>string</LinkURL>
        <ImageIcon>string</ImageIcon>
        <Caption>string</Caption>
        <HtmlContent>string</HtmlContent>
        <MenuLevel>string</MenuLevel>
        <MenuOrder>string</MenuOrder>
        <Mode>string</Mode>
        <URL>string</URL>
        <PreservePageOrder>boolean</PreservePageOrder>
        <MainParent>int</MainParent>
        <SideMenuType>string</SideMenuType>
        <CultureCode>string</CultureCode>
        <Description>string</Description>
        <UpdatedOn>dateTime</UpdatedOn>
        <AddedOn>dateTime</AddedOn>
        <ChangeFreq>string</ChangeFreq>
      </objInfo>
      <userModuleId>int</userModuleId>
      <UserName>string</UserName>
      <secureToken>string</secureToken>
    </AddMenuItem>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddMenuItemResponse xmlns="http://tempuri.org/" />
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/Admin/MenuManager/MenuWebService.asmx HTTP/1.1
Host: bishwojyoti.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddMenuItem xmlns="http://tempuri.org/">
      <objInfo>
        <MenuID>int</MenuID>
        <MenuItemID>int</MenuItemID>
        <MenuName>string</MenuName>
        <IsDefault>boolean</IsDefault>
        <MenuTypeStyle>string</MenuTypeStyle>
        <MenuHeaderText>string</MenuHeaderText>
        <ShowImage>boolean</ShowImage>
        <Showtext>boolean</Showtext>
        <SettingKey>string</SettingKey>
        <SettingValue>string</SettingValue>
        <PortalID>int</PortalID>
        <UserModuleID>int</UserModuleID>
        <AddedBy>string</AddedBy>
        <IsActive>boolean</IsActive>
        <UpdatedBy>string</UpdatedBy>
        <DisplayMode>string</DisplayMode>
        <TopMenuSubType>string</TopMenuSubType>
        <SubTitleLevel>string</SubTitleLevel>
        <SelectedMenu>string</SelectedMenu>
        <PageID>int</PageID>
        <MenuType>string</MenuType>
        <PageOrder>int</PageOrder>
        <PageName>string</PageName>
        <ParentID>int</ParentID>
        <Level>int</Level>
        <LevelPageName>string</LevelPageName>
        <ChildCount>int</ChildCount>
        <SEOName>string</SEOName>
        <TabPath>string</TabPath>
        <SubText>string</SubText>
        <IsVisible>boolean</IsVisible>
        <ShowInMenu>boolean</ShowInMenu>
        <LinkType>string</LinkType>
        <Title>string</Title>
        <LinkURL>string</LinkURL>
        <ImageIcon>string</ImageIcon>
        <Caption>string</Caption>
        <HtmlContent>string</HtmlContent>
        <MenuLevel>string</MenuLevel>
        <MenuOrder>string</MenuOrder>
        <Mode>string</Mode>
        <URL>string</URL>
        <PreservePageOrder>boolean</PreservePageOrder>
        <MainParent>int</MainParent>
        <SideMenuType>string</SideMenuType>
        <CultureCode>string</CultureCode>
        <Description>string</Description>
        <UpdatedOn>dateTime</UpdatedOn>
        <AddedOn>dateTime</AddedOn>
        <ChangeFreq>string</ChangeFreq>
      </objInfo>
      <userModuleId>int</userModuleId>
      <UserName>string</UserName>
      <secureToken>string</secureToken>
    </AddMenuItem>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddMenuItemResponse xmlns="http://tempuri.org/" />
  </soap12:Body>
</soap12:Envelope>