GET api/Notification/GetNotificationsByAccount?accountId={accountId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
None. |
|
AccountName | string |
None. |
|
Title | string |
None. |
|
Message | string |
None. |
|
NotificationImage | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "c7796590-fa6b-4257-a95d-0abc7638a661", "AccountId": "abe65f0b-f116-443e-b8dc-ce32717254ba", "AccountName": "sample string 2", "Title": "sample string 3", "Message": "sample string 4", "NotificationImage": "sample string 5" }, { "Id": "c7796590-fa6b-4257-a95d-0abc7638a661", "AccountId": "abe65f0b-f116-443e-b8dc-ce32717254ba", "AccountName": "sample string 2", "Title": "sample string 3", "Message": "sample string 4", "NotificationImage": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfNotificationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.NotificationModule.Model"> <NotificationDto> <AccountId>abe65f0b-f116-443e-b8dc-ce32717254ba</AccountId> <AccountName>sample string 2</AccountName> <Id>c7796590-fa6b-4257-a95d-0abc7638a661</Id> <Message>sample string 4</Message> <NotificationImage>sample string 5</NotificationImage> <Title>sample string 3</Title> </NotificationDto> <NotificationDto> <AccountId>abe65f0b-f116-443e-b8dc-ce32717254ba</AccountId> <AccountName>sample string 2</AccountName> <Id>c7796590-fa6b-4257-a95d-0abc7638a661</Id> <Message>sample string 4</Message> <NotificationImage>sample string 5</NotificationImage> <Title>sample string 3</Title> </NotificationDto> </ArrayOfNotificationDto>