GET api/GetAllNotifications?Uid={Uid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Uid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationsModelName | Description | Type | Additional information |
---|---|---|---|
Notification_Id | integer |
None. |
|
Notification | string |
None. |
|
DateTime | date |
None. |
|
FromUser_Id | integer |
None. |
|
FromName | string |
None. |
|
FromImage | string |
None. |
|
Status | boolean |
None. |
|
To_Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Notification_Id": 1, "Notification": "sample string 2", "DateTime": "2024-11-21T08:52:45.8493478+00:00", "FromUser_Id": 1, "FromName": "sample string 3", "FromImage": "sample string 4", "Status": true, "To_Id": 1 }, { "Notification_Id": 1, "Notification": "sample string 2", "DateTime": "2024-11-21T08:52:45.8493478+00:00", "FromUser_Id": 1, "FromName": "sample string 3", "FromImage": "sample string 4", "Status": true, "To_Id": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfNotificationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VullamAPIProject.Models"> <NotificationsModel> <DateTime>2024-11-21T08:52:45.8493478+00:00</DateTime> <FromImage>sample string 4</FromImage> <FromName>sample string 3</FromName> <FromUser_Id>1</FromUser_Id> <Notification>sample string 2</Notification> <Notification_Id>1</Notification_Id> <Status>true</Status> <To_Id>1</To_Id> </NotificationsModel> <NotificationsModel> <DateTime>2024-11-21T08:52:45.8493478+00:00</DateTime> <FromImage>sample string 4</FromImage> <FromName>sample string 3</FromName> <FromUser_Id>1</FromUser_Id> <Notification>sample string 2</Notification> <Notification_Id>1</Notification_Id> <Status>true</Status> <To_Id>1</To_Id> </NotificationsModel> </ArrayOfNotificationsModel>