POST api/NotificationsTemplates/Save
Request Information
URI Parameters
None.
Body Parameters
NotificationsTemplatesDTO| Name | Description | Type | Additional 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. |
Request 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:11:04.2283014-04:00",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:11:04.2283014-04:00",
"ModifiedDate": "2025-10-27T18:11:04.2283014-04:00",
"IsOpened": true,
"AttachmentFilePath": "sample string 17"
}
application/xml, text/xml
Sample:
<NotificationsTemplatesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
<AttachmentFilePath>sample string 17</AttachmentFilePath>
<CreationDate>2025-10-27T18:11:04.2283014-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<IsOpened>true</IsOpened>
<ModifiedDate>2025-10-27T18:11:04.2283014-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:11:04.2283014-04:00</PublicationDate>
<StaffID>10</StaffID>
<StaffsIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</StaffsIDs>
<SystemUserID>11</SystemUserID>
<TitleArabic>sample string 7</TitleArabic>
<TitleEnglish>sample string 6</TitleEnglish>
</NotificationsTemplatesDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>