PUT api/sms/templates/{template}
Updates a given SMS template with the given information. NOTE! Existing information is replaced entirely with the new information set.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| template |
SMS template ID |
integer |
Required |
Body Parameters
Updated SMS template data
TemplateUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
SMS template ID |
integer |
Required |
| Name |
SMS template name |
string |
Required |
| Text |
SMS template text contents |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Text": "sample string 3"
}
Response Information
Resource Description
Updated 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:28:27.9120168+00:00",
"Modified": "2025-12-16T03:28:27.9120168+00:00",
"ID": 1,
"Name": "sample string 2",
"Text": "sample string 3"
}