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

NameDescriptionTypeAdditional information
template

SMS template ID

integer

Required

Body Parameters

Updated SMS template data

TemplateUpdateDTO
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "2019-08-19T15:32:19.7001859+00:00",
  "Modified": "2019-08-19T15:32:19.7001859+00:00",
  "ID": 1,
  "Name": "sample string 2",
  "Text": "sample string 3"
}