POST api/sms/templates
Creates a new SMS template with the given information
Request Information
URI Parameters
None.
Body Parameters
SMS template data of new SMS template
TemplateNewDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
SMS template name |
string |
Required |
| Text |
SMS template text contents |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Text": "sample string 2"
}
Response Information
Resource Description
New SMS template
TemplateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Created |
Timestamp for SMS template creation |
date |
None. |
| Modified |
Timestamp for latest modification of the SMS template |
date |
None. |
| ID |
SMS template ID |
integer |
Required |
| Name |
SMS template name |
string |
Required |
| Text |
SMS template text contents |
string |
Required |
Response Formats
application/json, text/json
Sample:
{
"Created": "2025-12-16T03:27:24.1059848+00:00",
"Modified": "2025-12-16T03:27:24.1059848+00:00",
"ID": 1,
"Name": "sample string 2",
"Text": "sample string 3"
}