POST api/Navigation/AdminUpdateNavigation

后台-编辑导航

Request Information

URI Parameters

None.

Body Parameters

mh163k_Navigation
NameDescriptionTypeAdditional information
Id

ID

integer

None.

ParentId

父节点,0表示无父节点

integer

None.

Name

导航名称

string

None.

Url

导航链接

string

None.

IntOrder

排序 默认值(1)

integer

None.

Ico

图标/截图

string

None.

IsOpen

显示/隐藏

boolean

None.

Color

颜色

string

None.

OpenType

导航打开方式

OpenType

None.

ModuleId

归属版块id(栏目id)

ModuleType

None.

IsThreeLevel

是否三级导航栏

boolean

None.

PluginId

插件id 为0表示基础模块

integer

None.

Request 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:
<mh163k_Navigation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
  <Color>sample string 8</Color>
  <Ico>sample string 6</Ico>
  <Id>1</Id>
  <IntOrder>5</IntOrder>
  <IsOpen>true</IsOpen>
  <IsThreeLevel>true</IsThreeLevel>
  <ModuleId>None</ModuleId>
  <Name>sample string 3</Name>
  <OpenType>Original</OpenType>
  <ParentId>2</ParentId>
  <PluginId>10</PluginId>
  <Url>sample string 4</Url>
</mh163k_Navigation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'mh163k_Navigation'.

Response Information

Resource Description

后台-编辑导航

Object

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:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />