{
"channel": [
{
"id": "sms",
"text": "SMS",
"name": "SMS"
},
{
"id": "push",
"text": "PUSH",
"name": "PUSH"
},
{
"id": "mail",
"text": "MAIL",
"name": "MAIL"
}
],
"title": {
"en": "hahahahah",
"th": "hahahahaha"
},
"body": {
"en": "hahahahaha",
"th": "hahahaha"
},
"fullContent": {
"en": "<p>hahahahaah</p>\n",
"th": "<p>hahahahahaah</p>\n"
},
"cmd": {},
"name": "TEST",
"action": "transaction",
"tags": [
"transaction"
]
}curl --location --request POST '/admin/ntftmp/createNtfTemplate' \
--header 'Authorization: Bearer f41e8fd7-3221-4b36-8dc3-623890b2c078' \
--header 'Accept: application/json' \
--header 'User-Agent: Mozilla/5.0' \
--header 'Referer: https://wallet-admin-vpay-dev2.vinsmartfuture.tech/' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"channel": [
{
"id": "sms",
"text": "SMS",
"name": "SMS"
},
{
"id": "push",
"text": "PUSH",
"name": "PUSH"
},
{
"id": "mail",
"text": "MAIL",
"name": "MAIL"
}
],
"title": {
"en": "hahahahah",
"th": "hahahahaha"
},
"body": {
"en": "hahahahaha",
"th": "hahahaha"
},
"fullContent": {
"en": "<p>hahahahaah</p>\n",
"th": "<p>hahahahahaah</p>\n"
},
"cmd": {},
"name": "TEST",
"action": "transaction",
"tags": [
"transaction"
]
}'