POST api/ArticleTheme/UpdateNewTheme

后台 - 更新专题

Request Information

URI Parameters

None.

Body Parameters

专题实体

ArtThemeUpdateDto
NameDescriptionTypeAdditional information
ThemeId

专题标识

integer

None.

ThemeName

专题名称

string

None.

IndexPicUrl

封面图片地址

string

None.

Keywords

关键词

string

None.

Intro

网页描述

string

None.

Description

自定义文宣

string

None.

Hits

阅读量

integer

None.

DisplayType

显示状态

ArtThemeDisplayType

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:
<ArtThemeUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Article.Service.Dto.Theme">
  <Description>sample string 6</Description>
  <DisplayType>All</DisplayType>
  <Hits>7</Hits>
  <IndexPicUrl>sample string 3</IndexPicUrl>
  <Intro>sample string 5</Intro>
  <Keywords>sample string 4</Keywords>
  <ThemeId>1</ThemeId>
  <ThemeName>sample string 2</ThemeName>
</ArtThemeUpdateDto>

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 'ArtThemeUpdateDto'.

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/" />