PUT notificationtemplate/update

Updates an existing notification template

Request Information

URI Parameters

None.

Body Parameters

NotificationTemplateUpdateRequest object contains the fields to be updated

NotificationTemplateUpdateRequest
NameDescriptionTypeAdditional information
NotificationTemplateId

integer

None.

Name

string

None.

Subject

string

None.

Body

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<NotificationTemplateUpdateRequest 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 4</Body>
  <Name>sample string 2</Name>
  <Subject>sample string 3</Subject>
  <NotificationTemplateId>1</NotificationTemplateId>
</NotificationTemplateUpdateRequest>

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

Response Information

Resource Description

NotificationTemplateUpdateResponse

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.