GET api/WechatTemplate/GetCustomizeTemplateDetail?id={id}

后台 - 根据id获取自定义模板消息详情

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

主键

string

Required

Body Parameters

None.

Response Information

Resource Description

后台 - 根据id获取自定义模板消息详情

mh163k_Customize_WechatTemplate
NameDescriptionTypeAdditional information
Id

模板标识

integer

None.

SerialNum

模板id

string

None.

Name

模板名称

string

None.

LinkType

模板消息跳转类型

LinkType

None.

Link

模板消息跳转(json字符串,内喊跳转内容和跳转方式)

string

None.

Content

模板消息内容数据(json字符串,内含自定义的变量内容)

string

None.

VariableSeed

模板消息变量集合(模板消息的变量集合,初始化Content为空的时候前端可根据此字段生成Content字段,Content有值后此字段无用)

string

None.

LastUpdateTime

最后更新时间

date

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:
<mh163k_Customize_WechatTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
  <Content>sample string 5</Content>
  <Id>1</Id>
  <LastUpdateTime>2024-05-03T00:20:26.6862486+08:00</LastUpdateTime>
  <Link>sample string 4</Link>
  <LinkType>Url</LinkType>
  <Name>sample string 3</Name>
  <SerialNum>sample string 2</SerialNum>
  <VariableSeed>sample string 6</VariableSeed>
</mh163k_Customize_WechatTemplate>