POST notificationtemplate/add

Request Information

URI Parameters

None.

Body Parameters

NotificationTemplateAddRequest
NameDescriptionTypeAdditional information
Name

string

None.

Subject

string

None.

Body

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Subject": "sample string 2",
  "Body": "sample string 3",
  "IsActive": true
}

application/xml, text/xml

Sample:
<NotificationTemplateAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.CommunicationObjects">
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive>
  <Body>sample string 3</Body>
  <Name>sample string 1</Name>
  <Subject>sample string 2</Subject>
</NotificationTemplateAddRequest>

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 'NotificationTemplateAddRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.