POST api/WechatTemplate/UpdateSerialNum

后台 - 更新模板消息编号接口(需清除所有变量设置)

Request Information

URI Parameters

None.

Body Parameters

WexinTemplateSimpleUpdateDto
NameDescriptionTypeAdditional information
Id

主键

integer

None.

SerialNum

模板id(非编号!注意!如果公众号后台不存在该模板消息,需先调用添加至公众号接口来获取模板id再调用此接口)

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<WexinTemplateSimpleUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.WeChat">
  <Id>1</Id>
  <SerialNum>sample string 2</SerialNum>
</WexinTemplateSimpleUpdateDto>

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