GET api/v1/notifications/{panelistId}/{IsViewed}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
panelistId | integer |
Required |
|
IsViewed | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PanelistId | integer |
None. |
|
Type | NotificationType |
None. |
|
Message | string |
None. |
|
Description | string |
None. |
|
Link | string |
None. |
|
IsViewed | boolean |
None. |
|
DateTime | date |
None. |
|
NotificationMessage | string |
None. |
|
IsOpened | boolean |
None. |
|
CreatedDate | date |
None. |
|
Image | string |
None. |
|
Hyperlink | string |
None. |
|
NotificationCategory | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "panelistId": 2, "type": 1, "message": "sample string 3", "description": "sample string 4", "link": "sample string 5", "isViewed": true, "dateTime": "2025-01-21T13:27:11.8275839-05:00", "notificationMessage": "sample string 8", "isOpened": true, "createdDate": "2025-01-21T13:27:11.8275839-05:00", "image": "sample string 10", "hyperlink": "sample string 11", "notificationCategory": 12 }, { "id": 1, "panelistId": 2, "type": 1, "message": "sample string 3", "description": "sample string 4", "link": "sample string 5", "isViewed": true, "dateTime": "2025-01-21T13:27:11.8275839-05:00", "notificationMessage": "sample string 8", "isOpened": true, "createdDate": "2025-01-21T13:27:11.8275839-05:00", "image": "sample string 10", "hyperlink": "sample string 11", "notificationCategory": 12 } ]
text/xml
Sample:
<ArrayOfNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity"> <Notification> <CreatedDate>2025-01-21T13:27:11.8275839-05:00</CreatedDate> <DateTime>2025-01-21T13:27:11.8275839-05:00</DateTime> <Description>sample string 4</Description> <Hyperlink>sample string 11</Hyperlink> <Id>1</Id> <Image>sample string 10</Image> <IsOpened>true</IsOpened> <IsViewed>true</IsViewed> <Link>sample string 5</Link> <Message>sample string 3</Message> <NotificationCategory>12</NotificationCategory> <NotificationMessage>sample string 8</NotificationMessage> <PanelistId>2</PanelistId> <Type>Surveys</Type> </Notification> <Notification> <CreatedDate>2025-01-21T13:27:11.8275839-05:00</CreatedDate> <DateTime>2025-01-21T13:27:11.8275839-05:00</DateTime> <Description>sample string 4</Description> <Hyperlink>sample string 11</Hyperlink> <Id>1</Id> <Image>sample string 10</Image> <IsOpened>true</IsOpened> <IsViewed>true</IsViewed> <Link>sample string 5</Link> <Message>sample string 3</Message> <NotificationCategory>12</NotificationCategory> <NotificationMessage>sample string 8</NotificationMessage> <PanelistId>2</PanelistId> <Type>Surveys</Type> </Notification> </ArrayOfNotification>