文档
测试

组合模板更新

POST
http://10.10.220.103/webportal/statictemplae/manage/update

请求参数

参数名
类型
描述
必填
accessNo
string
示例:10086 chatbotid ,非必填
必填
ecNo
string
示例:10086
必填
keywordList
array
建议回复关键字 需要统计到keywordList中
必填
templateName
string
示例:组合模板 模板名称
必填
templateType
number
示例:4 模板类型 1.卡片 2.文本 3.多媒体 4.组合模板
必填
urlResource
string
示例:AAAAA;BBBBB 素材的meadid,有使用素材时需要携带,; 分隔
必填
eCstaticTemplateVos
array
模板对象列表
必填
richMsgInfoVoList
array
数据列表
必填
contentVoData
object
卡片对象
必填
description
string
示例:卡片1内容
必填
media
object
卡片媒体对象
必填
mediaContentType
string
示例:image/png 素材类型 content-type
必填
mediaFileSize
string
示例:1024 素材大小
必填
mediaUrl
string
示例:http://124.42.103.156:8089/group1/M00/11/E7/CgrQc15vG-CAd8QmAASqPXzpj3A673_small.png 素材url地址
必填
thumbnailContentType
string
示例:image/png 素材封面content-type
必填
thumbnailUrl
string
示例:http://124.42.103.156:8089/group1/M00/11/E7/CgrQc15vG-CAd8QmAASqPXzpj3A673.png 素材封面地址
必填
suggestions
array
建议操作及建议回复 卡片内置按钮
必填
action
object
建议操作
必填
displayText
string
示例:按钮名称
必填
urlAction
object
打开url操作
必填
openUrl
object
要打开的url地址
必填
url
string
示例:www.baidu.com
必填
title
string
示例:😀 卡片标题
必填
templateType
number
示例:1 模板类型1.卡片 2.文本 3.多媒体
必填
templateId
string
模板列表id
必填

响应参数

参数名
类型
描述
必填
status
number
示例:200
必填
reason
string
示例:添加成功
必填
data
object
示例:null
必填
status
number
示例:200
必填
reason
string
示例:添加成功
必填
data
object
示例:null
必填