POST Api/V1/SMS/CreateSMSTemplate

Request Information

URI Parameters

None.

Body Parameters

Inforu_SMS_Template
NameDescriptionTypeAdditional information
TemplateName

string

None.

Content

string

None.

Description

string

None.

BrandId

integer

None.

Settings

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateName": "sample string 1",
  "Content": "sample string 2",
  "Description": "sample string 3",
  "BrandId": 4,
  "Settings": "sample string 5"
}

application/xml, text/xml

Sample:
<Inforu_SMS_Template xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCreate.API.Models.MessagingModels">
  <BrandId>4</BrandId>
  <Content>sample string 2</Content>
  <Description>sample string 3</Description>
  <Settings>sample string 5</Settings>
  <TemplateName>sample string 1</TemplateName>
</Inforu_SMS_Template>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Inforu_SMS_Template'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.