{
"templateId": 0,
"templateName": "string",
"outsideTemplateId": "string",
"templateContent": "string",
"frequency": 0,
"templateType": 0,
"templateHandle": 0,
"templateState": 0,
"creatorId": "string",
"creatorName": "string",
"deleteFlag": 0,
"remark": "string",
"createTime": "string",
"updateTime": "string",
"templateIdList": [
0
],
"templateAttribute": 0,
"templateTag": "string",
"templateTagList": [
"string"
],
"channelType": 0,
"signInfo": "string",
"customerId": 0,
"privateChannelFlag": true,
"categoryId": 0,
"categoryName": "string",
"expandInfo": "string",
"businessType": 0,
"paramsType": 0,
"enableFlag": 0,
"channelId": 0,
"customerIdList": [
0
],
"templateScene": "string"
}
curl --location --request POST '/portal/msg/template/saveOrUpdateTemplate' \
--header 'token: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ7XCJpc3NcIjpcIkJXX0lOTkVSX0dBVEVXQVlcIixcImlhdFwiOjE3NTIwMzE4NzgsXCJwbGF0Zm9ybVwiOlwiU0dcIixcImp0aVwiOlwiU0dcIn0iLCJpc3MiOiJCV19JTk5FUl9HQVRFV0FZIiwiZXhwIjoxNzUzMDMxODc4LCJpYXQiOjE3NTIwMzE4NzgsInBsYXRmb3JtIjoiU0ciLCJqdGkiOiJTRyJ9.kHFzS4gQJzoq85Ar8oqVbGdmzP3eoHZfKficICpsqNagXAc9s7S3M5i2SobiWP_dLV7b-3ya8n97YWmoeX1xC9CSt2nr7flexFOCJocoubU36EWg3AKu7KT43aDgw5OP--yygGctEhuK8Zl8NLuPXQyEupFAcVCn37vurf5rT88' \
--header 'customer: 428166320547168262' \
--header 'user: ljing' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId": 0,
"templateName": "string",
"outsideTemplateId": "string",
"templateContent": "string",
"frequency": 0,
"templateType": 0,
"templateHandle": 0,
"templateState": 0,
"creatorId": "string",
"creatorName": "string",
"deleteFlag": 0,
"remark": "string",
"createTime": "string",
"updateTime": "string",
"templateIdList": [
0
],
"templateAttribute": 0,
"templateTag": "string",
"templateTagList": [
"string"
],
"channelType": 0,
"signInfo": "string",
"customerId": 0,
"privateChannelFlag": true,
"categoryId": 0,
"categoryName": "string",
"expandInfo": "string",
"businessType": 0,
"paramsType": 0,
"enableFlag": 0,
"channelId": 0,
"customerIdList": [
0
],
"templateScene": "string"
}'
{
"error": {
"code": "",
"message": "",
"detail": ""
},
"reqId": "",
"reqCustomerId": 0,
"data": 0
}