POST request/notification
Adds the User Notification Details
Request Information
URI Parameters
None.
Body Parameters
UserNotificationPost| Name | Description | Type | Additional information |
|---|---|---|---|
| ExpiryDate | date |
None. |
|
| IsRead | boolean |
None. |
|
| NotificationTypeId | integer |
None. |
|
| Text | string |
None. |
|
| Title | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"text": "sample string 2",
"notificationTypeId": 3,
"isRead": true,
"expiryDate": "2026-01-29T05:14:10.707983+00:00"
}
text/html
Sample:
{"title":"sample string 1","text":"sample string 2","notificationTypeId":3,"isRead":true,"expiryDate":"2026-01-29T05:14:10.707983+00:00"}
application/xml, text/xml
Sample:
<UserNotificationPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.Dashboard"> <ExpiryDate>2026-01-29T05:14:10.707983+00:00</ExpiryDate> <IsRead>true</IsRead> <NotificationTypeId>3</NotificationTypeId> <Text>sample string 2</Text> <Title>sample string 1</Title> </UserNotificationPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserNotificationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1
}
text/html
Sample:
{"id":1}
application/xml, text/xml
Sample:
<UserNotificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.Dashboard"> <Id>1</Id> </UserNotificationResponse>