GET api/notifications/GetUserNotification/{notificationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
notificationId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultOfNotificationsName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Ok | boolean |
None. |
|
Errors | Collection of Error |
None. |
|
Data | Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": false, "Ok": true, "Errors": [ { "Id": "sample string 1", "Entity": "sample string 2", "Message": "sample string 3" }, { "Id": "sample string 1", "Entity": "sample string 2", "Message": "sample string 3" } ], "Data": { "Id": "699228cf-0664-4d23-bff0-f30a8099aef5", "NotificationTypeId": 2, "Title": "sample string 3", "Content": "sample string 4", "Subject": "sample string 5", "DateAdded": "2025-09-09T05:20:21.1278991-04:00", "ModifyDate": "2025-09-09T05:20:21.1278991-04:00", "ExpireDate": "2025-09-09T05:20:21.1278991-04:00", "ModifyUser": "sample string 9", "Rules": [ { "Id": "29bc6fc6-da44-446e-942f-a002ceee9e0a", "NotificationId": "7b6db1ba-9f65-4a1c-b897-2532aa265f2d", "RuleType": 3, "DateAdded": "2025-09-09T05:20:21.1278991-04:00", "LastUpdated": "2025-09-09T05:20:21.1278991-04:00", "RuleItems": [ { "Id": "0110e602-1498-4da9-9fd3-586a8bfb334a", "ItemTypeId": 2, "RuleType": 3, "NotificationRuleId": "beda055b-c158-4fa2-a9cd-bae32c2ad0e7", "Data": "sample string 5" }, { "Id": "0110e602-1498-4da9-9fd3-586a8bfb334a", "ItemTypeId": 2, "RuleType": 3, "NotificationRuleId": "beda055b-c158-4fa2-a9cd-bae32c2ad0e7", "Data": "sample string 5" } ] }, { "Id": "29bc6fc6-da44-446e-942f-a002ceee9e0a", "NotificationId": "7b6db1ba-9f65-4a1c-b897-2532aa265f2d", "RuleType": 3, "DateAdded": "2025-09-09T05:20:21.1278991-04:00", "LastUpdated": "2025-09-09T05:20:21.1278991-04:00", "RuleItems": [ { "Id": "0110e602-1498-4da9-9fd3-586a8bfb334a", "ItemTypeId": 2, "RuleType": 3, "NotificationRuleId": "beda055b-c158-4fa2-a9cd-bae32c2ad0e7", "Data": "sample string 5" }, { "Id": "0110e602-1498-4da9-9fd3-586a8bfb334a", "ItemTypeId": 2, "RuleType": 3, "NotificationRuleId": "beda055b-c158-4fa2-a9cd-bae32c2ad0e7", "Data": "sample string 5" } ] } ] } }
application/xml, text/xml
Sample:
<ResultOfNotificationstIP6mEEe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/jblCommonUtilities.Marketing"> <d2p1:Content>sample string 4</d2p1:Content> <d2p1:DateAdded>2025-09-09T05:20:21.1278991-04:00</d2p1:DateAdded> <d2p1:ExpireDate>2025-09-09T05:20:21.1278991-04:00</d2p1:ExpireDate> <d2p1:Id>699228cf-0664-4d23-bff0-f30a8099aef5</d2p1:Id> <d2p1:ModifyDate>2025-09-09T05:20:21.1278991-04:00</d2p1:ModifyDate> <d2p1:ModifyUser>sample string 9</d2p1:ModifyUser> <d2p1:NotificationTypeId>2</d2p1:NotificationTypeId> <d2p1:Rules> <d2p1:NotificationRules> <d2p1:DateAdded>2025-09-09T05:20:21.1278991-04:00</d2p1:DateAdded> <d2p1:Id>29bc6fc6-da44-446e-942f-a002ceee9e0a</d2p1:Id> <d2p1:LastUpdated>2025-09-09T05:20:21.1278991-04:00</d2p1:LastUpdated> <d2p1:NotificationId>7b6db1ba-9f65-4a1c-b897-2532aa265f2d</d2p1:NotificationId> <d2p1:RuleItems> <d2p1:NotificationRuleItemData> <d2p1:Data>sample string 5</d2p1:Data> <d2p1:Id>0110e602-1498-4da9-9fd3-586a8bfb334a</d2p1:Id> <d2p1:ItemTypeId>2</d2p1:ItemTypeId> <d2p1:NotificationRuleId>beda055b-c158-4fa2-a9cd-bae32c2ad0e7</d2p1:NotificationRuleId> <d2p1:RuleType>3</d2p1:RuleType> </d2p1:NotificationRuleItemData> <d2p1:NotificationRuleItemData> <d2p1:Data>sample string 5</d2p1:Data> <d2p1:Id>0110e602-1498-4da9-9fd3-586a8bfb334a</d2p1:Id> <d2p1:ItemTypeId>2</d2p1:ItemTypeId> <d2p1:NotificationRuleId>beda055b-c158-4fa2-a9cd-bae32c2ad0e7</d2p1:NotificationRuleId> <d2p1:RuleType>3</d2p1:RuleType> </d2p1:NotificationRuleItemData> </d2p1:RuleItems> <d2p1:RuleType>3</d2p1:RuleType> </d2p1:NotificationRules> <d2p1:NotificationRules> <d2p1:DateAdded>2025-09-09T05:20:21.1278991-04:00</d2p1:DateAdded> <d2p1:Id>29bc6fc6-da44-446e-942f-a002ceee9e0a</d2p1:Id> <d2p1:LastUpdated>2025-09-09T05:20:21.1278991-04:00</d2p1:LastUpdated> <d2p1:NotificationId>7b6db1ba-9f65-4a1c-b897-2532aa265f2d</d2p1:NotificationId> <d2p1:RuleItems> <d2p1:NotificationRuleItemData> <d2p1:Data>sample string 5</d2p1:Data> <d2p1:Id>0110e602-1498-4da9-9fd3-586a8bfb334a</d2p1:Id> <d2p1:ItemTypeId>2</d2p1:ItemTypeId> <d2p1:NotificationRuleId>beda055b-c158-4fa2-a9cd-bae32c2ad0e7</d2p1:NotificationRuleId> <d2p1:RuleType>3</d2p1:RuleType> </d2p1:NotificationRuleItemData> <d2p1:NotificationRuleItemData> <d2p1:Data>sample string 5</d2p1:Data> <d2p1:Id>0110e602-1498-4da9-9fd3-586a8bfb334a</d2p1:Id> <d2p1:ItemTypeId>2</d2p1:ItemTypeId> <d2p1:NotificationRuleId>beda055b-c158-4fa2-a9cd-bae32c2ad0e7</d2p1:NotificationRuleId> <d2p1:RuleType>3</d2p1:RuleType> </d2p1:NotificationRuleItemData> </d2p1:RuleItems> <d2p1:RuleType>3</d2p1:RuleType> </d2p1:NotificationRules> </d2p1:Rules> <d2p1:Subject>sample string 5</d2p1:Subject> <d2p1:Title>sample string 3</d2p1:Title> </Data> <Error>false</Error> <Errors> <Error> <Entity>sample string 2</Entity> <Id>sample string 1</Id> <Message>sample string 3</Message> </Error> <Error> <Entity>sample string 2</Entity> <Id>sample string 1</Id> <Message>sample string 3</Message> </Error> </Errors> <Ok>true</Ok> </ResultOfNotificationstIP6mEEe>