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
NameDescriptionTypeAdditional 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
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-10-23T22:25:52.3616954+00:00",
  "Modified": "2019-10-23T22:25:52.3616954+00:00",
  "ID": 1,
  "Name": "sample string 2",
  "Text": "sample string 3"
}