POST api/Sms/SaveTemplate

Request Information

URI Parameters

None.

Body Parameters

SmsSaveTemplateBindingModel
NameDescriptionTypeAdditional information
CustomerId

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

TemplateName

string

Required

String length: inclusive between 1 and 50

TemplateText

string

Required

String length: inclusive between 1 and 255

SmsTemplatesId

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

OfficeType

byte

None.

TransactionId

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "TemplateName": "sample string 2",
  "TemplateText": "sample string 3",
  "SmsTemplatesId": 4,
  "OfficeType": 64,
  "TransactionId": "sample string 6"
}

application/xml, text/xml

Sample:
<SmsSaveTemplateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmdanRestModels.Models.Binding_Models">
  <TransactionId>sample string 6</TransactionId>
  <OfficeType>64</OfficeType>
  <SmsTemplatesId>4</SmsTemplatesId>
  <CustomerId>1</CustomerId>
  <TemplateName>sample string 2</TemplateName>
  <TemplateText>sample string 3</TemplateText>
</SmsSaveTemplateBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.