GET api/Navigation/GetSecondNavigation?parentId={parentId}&pluginId={pluginId}&top={top}

后台-获取二级导航

Request Information

URI Parameters

NameDescriptionTypeAdditional information
parentId

integer

Required

pluginId

integer

Default value is 0

top

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

后台-获取二级导航

Collection of NavigationEntity
NameDescriptionTypeAdditional information
SecondId

该二级导航id,因循环解析,会出现错误。不能和mh163k_Navigation的id一样

integer

None.

SecondName

该二级导航名称 因循环解析,会出现错误。不能和mh163k_Navigation的name一样

string

None.

SecondIco

该二级导航图标

string

None.

ParentId

父节点,0表示无父节点

integer

None.

SecondUrl

导航链接

string

None.

IntOrder

排序 默认值(1)

integer

None.

SecondIsOpen

显示/隐藏

boolean

None.

SecondColor

颜色

string

None.

SecondOpenType

导航打开方式

OpenType

None.

ModuleId

归属版块id(栏目id)

ModuleType

None.

IsThreeLevel

是否三级导航栏

boolean

None.

PluginId

插件id 为0表示基础模块

integer

None.

ThreeLevelNavigaition

三级导航

Collection of mh163k_Navigation

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfNavigationEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.ModelAggregation">
  <NavigationEntity>
    <IntOrder>6</IntOrder>
    <IsThreeLevel>true</IsThreeLevel>
    <ModuleId>None</ModuleId>
    <ParentId>4</ParentId>
    <PluginId>10</PluginId>
    <SecondColor>sample string 8</SecondColor>
    <SecondIco>sample string 3</SecondIco>
    <SecondId>1</SecondId>
    <SecondIsOpen>true</SecondIsOpen>
    <SecondName>sample string 2</SecondName>
    <SecondOpenType>Original</SecondOpenType>
    <SecondUrl>sample string 5</SecondUrl>
    <ThreeLevelNavigaition xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
      <d3p1:mh163k_Navigation>
        <d3p1:Color>sample string 8</d3p1:Color>
        <d3p1:Ico>sample string 6</d3p1:Ico>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:IntOrder>5</d3p1:IntOrder>
        <d3p1:IsOpen>true</d3p1:IsOpen>
        <d3p1:IsThreeLevel>true</d3p1:IsThreeLevel>
        <d3p1:ModuleId>None</d3p1:ModuleId>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:OpenType>Original</d3p1:OpenType>
        <d3p1:ParentId>2</d3p1:ParentId>
        <d3p1:PluginId>10</d3p1:PluginId>
        <d3p1:Url>sample string 4</d3p1:Url>
      </d3p1:mh163k_Navigation>
      <d3p1:mh163k_Navigation>
        <d3p1:Color>sample string 8</d3p1:Color>
        <d3p1:Ico>sample string 6</d3p1:Ico>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:IntOrder>5</d3p1:IntOrder>
        <d3p1:IsOpen>true</d3p1:IsOpen>
        <d3p1:IsThreeLevel>true</d3p1:IsThreeLevel>
        <d3p1:ModuleId>None</d3p1:ModuleId>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:OpenType>Original</d3p1:OpenType>
        <d3p1:ParentId>2</d3p1:ParentId>
        <d3p1:PluginId>10</d3p1:PluginId>
        <d3p1:Url>sample string 4</d3p1:Url>
      </d3p1:mh163k_Navigation>
    </ThreeLevelNavigaition>
  </NavigationEntity>
  <NavigationEntity>
    <IntOrder>6</IntOrder>
    <IsThreeLevel>true</IsThreeLevel>
    <ModuleId>None</ModuleId>
    <ParentId>4</ParentId>
    <PluginId>10</PluginId>
    <SecondColor>sample string 8</SecondColor>
    <SecondIco>sample string 3</SecondIco>
    <SecondId>1</SecondId>
    <SecondIsOpen>true</SecondIsOpen>
    <SecondName>sample string 2</SecondName>
    <SecondOpenType>Original</SecondOpenType>
    <SecondUrl>sample string 5</SecondUrl>
    <ThreeLevelNavigaition xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
      <d3p1:mh163k_Navigation>
        <d3p1:Color>sample string 8</d3p1:Color>
        <d3p1:Ico>sample string 6</d3p1:Ico>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:IntOrder>5</d3p1:IntOrder>
        <d3p1:IsOpen>true</d3p1:IsOpen>
        <d3p1:IsThreeLevel>true</d3p1:IsThreeLevel>
        <d3p1:ModuleId>None</d3p1:ModuleId>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:OpenType>Original</d3p1:OpenType>
        <d3p1:ParentId>2</d3p1:ParentId>
        <d3p1:PluginId>10</d3p1:PluginId>
        <d3p1:Url>sample string 4</d3p1:Url>
      </d3p1:mh163k_Navigation>
      <d3p1:mh163k_Navigation>
        <d3p1:Color>sample string 8</d3p1:Color>
        <d3p1:Ico>sample string 6</d3p1:Ico>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:IntOrder>5</d3p1:IntOrder>
        <d3p1:IsOpen>true</d3p1:IsOpen>
        <d3p1:IsThreeLevel>true</d3p1:IsThreeLevel>
        <d3p1:ModuleId>None</d3p1:ModuleId>
        <d3p1:Name>sample string 3</d3p1:Name>
        <d3p1:OpenType>Original</d3p1:OpenType>
        <d3p1:ParentId>2</d3p1:ParentId>
        <d3p1:PluginId>10</d3p1:PluginId>
        <d3p1:Url>sample string 4</d3p1:Url>
      </d3p1:mh163k_Navigation>
    </ThreeLevelNavigaition>
  </NavigationEntity>
</ArrayOfNavigationEntity>