POST api/LoveTheme/Create

后台--创建相亲专题

Request Information

URI Parameters

None.

Body Parameters

LoveThemeCreateDto
NameDescriptionTypeAdditional information
Id

主键

integer

None.

ThemeName

专题名称

string

None.

ThemeSlogan

宣传标语

string

None.

ThemeNavFilePath

专题导航封面图

string

None.

IsThemePageHead

是否开启专题页面头部自定义

boolean

None.

ThemePageHeadContent

专题页面头部自定义内容

string

None.

IsThemePageFoot

是否开启专题页面尾部自定义

boolean

None.

ThemePageFootContent

专题页面尾部自定义内容

string

None.

IsThemePopup

是否开启专题页面弹窗

boolean

None.

ThemePopupContent

专题页面弹窗内容

string

None.

ThemeTemplateNo

模板编号

integer

None.

ThemeType

专题类别

ThemeType

None.

ThemeShareFilePath

专题分享封面

string

None.

ThemeShareTitle

专题分享标题

string

None.

ThemeShareSummary

专题分享摘要

string

None.

IsShelf

是否上架

boolean

None.

Intorder

排序

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:
<LoveThemeCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LoveTheme.Service.Dto">
  <Id>1</Id>
  <Intorder>16</Intorder>
  <IsShelf>true</IsShelf>
  <IsThemePageFoot>true</IsThemePageFoot>
  <IsThemePageHead>true</IsThemePageHead>
  <IsThemePopup>true</IsThemePopup>
  <ThemeName>sample string 2</ThemeName>
  <ThemeNavFilePath>sample string 4</ThemeNavFilePath>
  <ThemePageFootContent>sample string 8</ThemePageFootContent>
  <ThemePageHeadContent>sample string 6</ThemePageHeadContent>
  <ThemePopupContent>sample string 10</ThemePopupContent>
  <ThemeShareFilePath>sample string 12</ThemeShareFilePath>
  <ThemeShareSummary>sample string 14</ThemeShareSummary>
  <ThemeShareTitle>sample string 13</ThemeShareTitle>
  <ThemeSlogan>sample string 3</ThemeSlogan>
  <ThemeTemplateNo>11</ThemeTemplateNo>
  <ThemeType>AutoSearch</ThemeType>
</LoveThemeCreateDto>

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

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