POST api/Share/UpdateTemplate

更新已有模板

Request Information

URI Parameters

None.

Body Parameters

模板

ShareTemplateDto
NameDescriptionTypeAdditional information
Id

模板ID

string

None.

Title

模板标题

string

None.

Summary

模板摘要

string

None.

ImagePath

分享图片路径

string

None.

Module

模块

ModuleType

None.

Key

数据库主键

integer

None.

PageName

页面名称

string

None.

DefaultPic

默认分享图片

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ShareTemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Share">
  <DefaultPic>sample string 7</DefaultPic>
  <Id>sample string 1</Id>
  <ImagePath>sample string 4</ImagePath>
  <Key>5</Key>
  <Module>None</Module>
  <PageName>sample string 6</PageName>
  <Summary>sample string 3</Summary>
  <Title>sample string 2</Title>
</ShareTemplateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

更新已有模板

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

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