GET api/Share/GetAllTemplates?module={module}

依据模块获取模板列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
module

ModuleType

Required

Body Parameters

None.

Response Information

Resource Description

依据模块获取模板列表

Collection of 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.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfShareTemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Share">
  <ShareTemplateDto>
    <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>
  <ShareTemplateDto>
    <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>
</ArrayOfShareTemplateDto>