POST api/notification/template/update

Request Information

URI Parameters

None.

Body Parameters

DTOSYSNotificationTemplate
NameDescriptionTypeAdditional information
NotificationTemplateID

integer

None.

NotificationTypeID

integer

None.

Title

string

None.

Subject

string

None.

Content

string

None.

IsSystem

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

CreatedById

integer

None.

UpdatedById

integer

None.

FlagDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationTemplateID": 1,
  "NotificationTypeID": 2,
  "Title": "sample string 3",
  "Subject": "sample string 4",
  "Content": "sample string 5",
  "IsSystem": true,
  "DateCreated": "2025-10-26T11:18:17.9436784+08:00",
  "DateUpdated": "2025-10-26T11:18:17.9436784+08:00",
  "CreatedById": 9,
  "UpdatedById": 10,
  "FlagDeleted": true
}

application/xml, text/xml

Sample:
<DTOSYSNotificationTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Content>sample string 5</Content>
  <CreatedById>9</CreatedById>
  <DateCreated>2025-10-26T11:18:17.9436784+08:00</DateCreated>
  <DateUpdated>2025-10-26T11:18:17.9436784+08:00</DateUpdated>
  <FlagDeleted>true</FlagDeleted>
  <IsSystem>true</IsSystem>
  <NotificationTemplateID>1</NotificationTemplateID>
  <NotificationTypeID>2</NotificationTypeID>
  <Subject>sample string 4</Subject>
  <Title>sample string 3</Title>
  <UpdatedById>10</UpdatedById>
</DTOSYSNotificationTemplate>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>