GET api/notification/template/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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.

Response 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:12:06.0506344+08:00",
  "DateUpdated": "2025-10-26T11:12:06.0506344+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:12:06.0506344+08:00</DateCreated>
  <DateUpdated>2025-10-26T11:12:06.0506344+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>