GET api/Notifications/GetAllByNotificationTemplateID/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationID | integer |
None. |
|
| NotificationTemplateID | integer |
None. |
|
| SystemUserID | integer |
None. |
|
| StaffID | integer |
None. |
|
| ModuleTypeID | integer |
None. |
|
| ObjectID | integer |
None. |
|
| OrganizationName | string |
None. |
|
| OrganizationClassColor | string |
None. |
|
| NotificationTypeID | integer |
None. |
|
| NotificationTypeEnglish | string |
None. |
|
| NotificationTypeArabic | string |
None. |
|
| AttachmentFilePath | string |
None. |
|
| TitleEnglish | string |
None. |
|
| TitleArabic | string |
None. |
|
| MsgEnglish | string |
None. |
|
| MsgArabic | string |
None. |
|
| CreatedBy | string |
None. |
|
| Name | string |
None. |
|
| IsOpened | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| PublicationDate | date |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NotificationID": 1,
"NotificationTemplateID": 2,
"SystemUserID": 3,
"StaffID": 4,
"ModuleTypeID": 1,
"ObjectID": 1,
"OrganizationName": "sample string 5",
"OrganizationClassColor": "sample string 6",
"NotificationTypeID": 7,
"NotificationTypeEnglish": "sample string 8",
"NotificationTypeArabic": "sample string 9",
"AttachmentFilePath": "sample string 10",
"TitleEnglish": "sample string 11",
"TitleArabic": "sample string 12",
"MsgEnglish": "sample string 13",
"MsgArabic": "sample string 14",
"CreatedBy": "sample string 15",
"Name": "sample string 16",
"IsOpened": true,
"IsDeleted": true,
"PublicationDate": "2025-10-27T18:30:47.9497338-04:00",
"CreationDate": "2025-10-27T18:30:47.9497338-04:00",
"ModifiedDate": "2025-10-27T18:30:47.9497338-04:00"
},
{
"NotificationID": 1,
"NotificationTemplateID": 2,
"SystemUserID": 3,
"StaffID": 4,
"ModuleTypeID": 1,
"ObjectID": 1,
"OrganizationName": "sample string 5",
"OrganizationClassColor": "sample string 6",
"NotificationTypeID": 7,
"NotificationTypeEnglish": "sample string 8",
"NotificationTypeArabic": "sample string 9",
"AttachmentFilePath": "sample string 10",
"TitleEnglish": "sample string 11",
"TitleArabic": "sample string 12",
"MsgEnglish": "sample string 13",
"MsgArabic": "sample string 14",
"CreatedBy": "sample string 15",
"Name": "sample string 16",
"IsOpened": true,
"IsDeleted": true,
"PublicationDate": "2025-10-27T18:30:47.9497338-04:00",
"CreationDate": "2025-10-27T18:30:47.9497338-04:00",
"ModifiedDate": "2025-10-27T18:30:47.9497338-04:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfNotificationsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
<NotificationsDTO>
<AttachmentFilePath>sample string 10</AttachmentFilePath>
<CreatedBy>sample string 15</CreatedBy>
<CreationDate>2025-10-27T18:30:47.9497338-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<IsOpened>true</IsOpened>
<ModifiedDate>2025-10-27T18:30:47.9497338-04:00</ModifiedDate>
<ModuleTypeID>1</ModuleTypeID>
<MsgArabic>sample string 14</MsgArabic>
<MsgEnglish>sample string 13</MsgEnglish>
<Name>sample string 16</Name>
<NotificationID>1</NotificationID>
<NotificationTemplateID>2</NotificationTemplateID>
<NotificationTypeArabic>sample string 9</NotificationTypeArabic>
<NotificationTypeEnglish>sample string 8</NotificationTypeEnglish>
<NotificationTypeID>7</NotificationTypeID>
<ObjectID>1</ObjectID>
<OrganizationClassColor>sample string 6</OrganizationClassColor>
<OrganizationName>sample string 5</OrganizationName>
<PublicationDate>2025-10-27T18:30:47.9497338-04:00</PublicationDate>
<StaffID>4</StaffID>
<SystemUserID>3</SystemUserID>
<TitleArabic>sample string 12</TitleArabic>
<TitleEnglish>sample string 11</TitleEnglish>
</NotificationsDTO>
<NotificationsDTO>
<AttachmentFilePath>sample string 10</AttachmentFilePath>
<CreatedBy>sample string 15</CreatedBy>
<CreationDate>2025-10-27T18:30:47.9497338-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<IsOpened>true</IsOpened>
<ModifiedDate>2025-10-27T18:30:47.9497338-04:00</ModifiedDate>
<ModuleTypeID>1</ModuleTypeID>
<MsgArabic>sample string 14</MsgArabic>
<MsgEnglish>sample string 13</MsgEnglish>
<Name>sample string 16</Name>
<NotificationID>1</NotificationID>
<NotificationTemplateID>2</NotificationTemplateID>
<NotificationTypeArabic>sample string 9</NotificationTypeArabic>
<NotificationTypeEnglish>sample string 8</NotificationTypeEnglish>
<NotificationTypeID>7</NotificationTypeID>
<ObjectID>1</ObjectID>
<OrganizationClassColor>sample string 6</OrganizationClassColor>
<OrganizationName>sample string 5</OrganizationName>
<PublicationDate>2025-10-27T18:30:47.9497338-04:00</PublicationDate>
<StaffID>4</StaffID>
<SystemUserID>3</SystemUserID>
<TitleArabic>sample string 12</TitleArabic>
<TitleEnglish>sample string 11</TitleEnglish>
</NotificationsDTO>
</ArrayOfNotificationsDTO>