GET request/notification
Displays the Users Notifications Details
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Notification| Name | Description | Type | Additional information |
|---|---|---|---|
| Read | Collection of NotificationView |
None. |
|
| Unread | Collection of NotificationView |
None. |
Response Formats
application/json, text/json
Sample:
{
"read": [
{
"id": 1,
"title": "sample string 2",
"text": "sample string 3",
"notificationTypeId": 4,
"isRead": true,
"expiryDate": "2026-01-29T05:14:13.3642553+00:00"
},
{
"id": 1,
"title": "sample string 2",
"text": "sample string 3",
"notificationTypeId": 4,
"isRead": true,
"expiryDate": "2026-01-29T05:14:13.3642553+00:00"
}
],
"unread": [
{
"id": 1,
"title": "sample string 2",
"text": "sample string 3",
"notificationTypeId": 4,
"isRead": true,
"expiryDate": "2026-01-29T05:14:13.3642553+00:00"
},
{
"id": 1,
"title": "sample string 2",
"text": "sample string 3",
"notificationTypeId": 4,
"isRead": true,
"expiryDate": "2026-01-29T05:14:13.3642553+00:00"
}
]
}
text/html
Sample:
{"read":[{"id":1,"title":"sample string 2","text":"sample string 3","notificationTypeId":4,"isRead":true,"expiryDate":"2026-01-29T05:14:13.3642553+00:00"},{"id":1,"title":"sample string 2","text":"sample string 3","notificationTypeId":4,"isRead":true,"expiryDate":"2026-01-29T05:14:13.3642553+00:00"}],"unread":[{"id":1,"title":"sample string 2","text":"sample string 3","notificationTypeId":4,"isRead":true,"expiryDate":"2026-01-29T05:14:13.3642553+00:00"},{"id":1,"title":"sample string 2","text":"sample string 3","notificationTypeId":4,"isRead":true,"expiryDate":"2026-01-29T05:14:13.3642553+00:00"}]}
application/xml, text/xml
Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCSCommercialAPI.Models.Dashboard">
<Read>
<NotificationView>
<ExpiryDate>2026-01-29T05:14:13.3642553+00:00</ExpiryDate>
<IsRead>true</IsRead>
<NotificationTypeId>4</NotificationTypeId>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
<Id>1</Id>
</NotificationView>
<NotificationView>
<ExpiryDate>2026-01-29T05:14:13.3642553+00:00</ExpiryDate>
<IsRead>true</IsRead>
<NotificationTypeId>4</NotificationTypeId>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
<Id>1</Id>
</NotificationView>
</Read>
<Unread>
<NotificationView>
<ExpiryDate>2026-01-29T05:14:13.3642553+00:00</ExpiryDate>
<IsRead>true</IsRead>
<NotificationTypeId>4</NotificationTypeId>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
<Id>1</Id>
</NotificationView>
<NotificationView>
<ExpiryDate>2026-01-29T05:14:13.3642553+00:00</ExpiryDate>
<IsRead>true</IsRead>
<NotificationTypeId>4</NotificationTypeId>
<Text>sample string 3</Text>
<Title>sample string 2</Title>
<Id>1</Id>
</NotificationView>
</Unread>
</Notification>