POST api/Adv/AdminCreateAdvRotationPic

后台-创建广告轮播图

Request Information

URI Parameters

None.

Body Parameters

mh163k_Adv_RotationPic
NameDescriptionTypeAdditional information
Id

integer

None.

AdvId

关联的广告id 不可编辑

integer

None.

PicTitle

图片文字

string

None.

PicUrl

图片链接

string

None.

PicPath

图片地址

string

None.

PicIsOpen

是否开启

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:
<mh163k_Adv_RotationPic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
  <AdvId>2</AdvId>
  <Id>1</Id>
  <IntOrder>7</IntOrder>
  <PicIsOpen>true</PicIsOpen>
  <PicPath>sample string 5</PicPath>
  <PicTitle>sample string 3</PicTitle>
  <PicUrl>sample string 4</PicUrl>
</mh163k_Adv_RotationPic>

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

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