GET api/NotificationsTemplates/GetAllByStaffID/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of NotificationsTemplatesDTO
NameDescriptionTypeAdditional information
NotificationTemplateID

integer

None.

NotificationID

integer

None.

NotificationTypeID

integer

None.

NotificationTypeEnglish

string

None.

NotificationTypeArabic

string

None.

TitleEnglish

string

None.

TitleArabic

string

None.

MsgEnglish

string

None.

MsgArabic

string

None.

StaffID

integer

None.

StaffsIDs

Collection of integer

None.

SystemUserID

integer

None.

ModuleTypeID

integer

None.

ObjectID

integer

None.

PublicationDate

date

None.

IsDeleted

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

IsOpened

boolean

None.

AttachmentFilePath

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "NotificationTemplateID": 1,
    "NotificationID": 2,
    "NotificationTypeID": 3,
    "NotificationTypeEnglish": "sample string 4",
    "NotificationTypeArabic": "sample string 5",
    "TitleEnglish": "sample string 6",
    "TitleArabic": "sample string 7",
    "MsgEnglish": "sample string 8",
    "MsgArabic": "sample string 9",
    "StaffID": 10,
    "StaffsIDs": [
      1,
      2
    ],
    "SystemUserID": 11,
    "ModuleTypeID": 1,
    "ObjectID": 1,
    "PublicationDate": "2025-10-27T18:20:40.1422109-04:00",
    "IsDeleted": true,
    "CreationDate": "2025-10-27T18:20:40.1422109-04:00",
    "ModifiedDate": "2025-10-27T18:20:40.1422109-04:00",
    "IsOpened": true,
    "AttachmentFilePath": "sample string 17"
  },
  {
    "NotificationTemplateID": 1,
    "NotificationID": 2,
    "NotificationTypeID": 3,
    "NotificationTypeEnglish": "sample string 4",
    "NotificationTypeArabic": "sample string 5",
    "TitleEnglish": "sample string 6",
    "TitleArabic": "sample string 7",
    "MsgEnglish": "sample string 8",
    "MsgArabic": "sample string 9",
    "StaffID": 10,
    "StaffsIDs": [
      1,
      2
    ],
    "SystemUserID": 11,
    "ModuleTypeID": 1,
    "ObjectID": 1,
    "PublicationDate": "2025-10-27T18:20:40.1422109-04:00",
    "IsDeleted": true,
    "CreationDate": "2025-10-27T18:20:40.1422109-04:00",
    "ModifiedDate": "2025-10-27T18:20:40.1422109-04:00",
    "IsOpened": true,
    "AttachmentFilePath": "sample string 17"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationsTemplatesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
  <NotificationsTemplatesDTO>
    <AttachmentFilePath>sample string 17</AttachmentFilePath>
    <CreationDate>2025-10-27T18:20:40.1422109-04:00</CreationDate>
    <IsDeleted>true</IsDeleted>
    <IsOpened>true</IsOpened>
    <ModifiedDate>2025-10-27T18:20:40.1422109-04:00</ModifiedDate>
    <ModuleTypeID>1</ModuleTypeID>
    <MsgArabic>sample string 9</MsgArabic>
    <MsgEnglish>sample string 8</MsgEnglish>
    <NotificationID>2</NotificationID>
    <NotificationTemplateID>1</NotificationTemplateID>
    <NotificationTypeArabic>sample string 5</NotificationTypeArabic>
    <NotificationTypeEnglish>sample string 4</NotificationTypeEnglish>
    <NotificationTypeID>3</NotificationTypeID>
    <ObjectID>1</ObjectID>
    <PublicationDate>2025-10-27T18:20:40.1422109-04:00</PublicationDate>
    <StaffID>10</StaffID>
    <StaffsIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </StaffsIDs>
    <SystemUserID>11</SystemUserID>
    <TitleArabic>sample string 7</TitleArabic>
    <TitleEnglish>sample string 6</TitleEnglish>
  </NotificationsTemplatesDTO>
  <NotificationsTemplatesDTO>
    <AttachmentFilePath>sample string 17</AttachmentFilePath>
    <CreationDate>2025-10-27T18:20:40.1422109-04:00</CreationDate>
    <IsDeleted>true</IsDeleted>
    <IsOpened>true</IsOpened>
    <ModifiedDate>2025-10-27T18:20:40.1422109-04:00</ModifiedDate>
    <ModuleTypeID>1</ModuleTypeID>
    <MsgArabic>sample string 9</MsgArabic>
    <MsgEnglish>sample string 8</MsgEnglish>
    <NotificationID>2</NotificationID>
    <NotificationTemplateID>1</NotificationTemplateID>
    <NotificationTypeArabic>sample string 5</NotificationTypeArabic>
    <NotificationTypeEnglish>sample string 4</NotificationTypeEnglish>
    <NotificationTypeID>3</NotificationTypeID>
    <ObjectID>1</ObjectID>
    <PublicationDate>2025-10-27T18:20:40.1422109-04:00</PublicationDate>
    <StaffID>10</StaffID>
    <StaffsIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </StaffsIDs>
    <SystemUserID>11</SystemUserID>
    <TitleArabic>sample string 7</TitleArabic>
    <TitleEnglish>sample string 6</TitleEnglish>
  </NotificationsTemplatesDTO>
</ArrayOfNotificationsTemplatesDTO>