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": "36e75093-bb03-49f1-b584-6d8d42bbbdc9", "AccountId": "e7aa8582-e4e9-44f1-904b-8631aefd5e7c", "AccountName": "sample string 2", "Title": "sample string 3", "Message": "sample string 4", "NotificationImage": "sample string 5" }, { "Id": "36e75093-bb03-49f1-b584-6d8d42bbbdc9", "AccountId": "e7aa8582-e4e9-44f1-904b-8631aefd5e7c", "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>e7aa8582-e4e9-44f1-904b-8631aefd5e7c</AccountId> <AccountName>sample string 2</AccountName> <Id>36e75093-bb03-49f1-b584-6d8d42bbbdc9</Id> <Message>sample string 4</Message> <NotificationImage>sample string 5</NotificationImage> <Title>sample string 3</Title> </NotificationDto> <NotificationDto> <AccountId>e7aa8582-e4e9-44f1-904b-8631aefd5e7c</AccountId> <AccountName>sample string 2</AccountName> <Id>36e75093-bb03-49f1-b584-6d8d42bbbdc9</Id> <Message>sample string 4</Message> <NotificationImage>sample string 5</NotificationImage> <Title>sample string 3</Title> </NotificationDto> </ArrayOfNotificationDto>