POST api/AddUpdateNotifications
Request Information
URI Parameters
None.
Body Parameters
NotificationsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationID | integer |
None. |
|
| NotificationTypeID | integer |
None. |
|
| NotificationType | string |
None. |
|
| Message | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
|
| Color | string |
None. |
|
| Access | boolean |
None. |
|
| IsTrigger | boolean |
None. |
|
| IsClear | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"NotificationID": 1,
"NotificationTypeID": 2,
"NotificationType": "sample string 3",
"Message": "sample string 4",
"CreatedBy": "sample string 5",
"CreatedOn": "2025-11-05T12:06:25.9204975-08:00",
"Color": "sample string 7",
"Access": true,
"IsTrigger": true,
"IsClear": true
}
application/xml, text/xml
Sample:
<NotificationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models"> <Access>true</Access> <Color>sample string 7</Color> <CreatedBy>sample string 5</CreatedBy> <CreatedOn>2025-11-05T12:06:25.9204975-08:00</CreatedOn> <IsClear>true</IsClear> <IsTrigger>true</IsTrigger> <Message>sample string 4</Message> <NotificationID>1</NotificationID> <NotificationType>sample string 3</NotificationType> <NotificationTypeID>2</NotificationTypeID> </NotificationsModel>
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:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>