POST api/Poster/Update

后台更新海报logo

Request Information

URI Parameters

None.

Body Parameters

PostUpdateDto
NameDescriptionTypeAdditional information
Id

主键

string

None.

BackImage

海报背景图片

string

None.

IsRestoreBackImage

是否还原官方默认海报背景

boolean

None.

Comment

文字备注

string

None.

Logo

海报Logo

string

None.

ScanGuideSubscribe

是否显示引导客户关注公众号二维码(true代表前端应显示关注公众号二维码,否代表应显示普通的实体详情二维码)

boolean

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:
<PostUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Poster">
  <BackImage>sample string 2</BackImage>
  <Comment>sample string 4</Comment>
  <Id>sample string 1</Id>
  <IsRestoreBackImage>true</IsRestoreBackImage>
  <Logo>sample string 5</Logo>
  <ScanGuideSubscribe>true</ScanGuideSubscribe>
</PostUpdateDto>

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

Response Information

Resource Description

后台更新海报logo

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