GET api/NotificationContent
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationContentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Body | string |
None. |
|
| ReferenceId | string |
None. |
|
| Image | string |
None. |
|
| Type | string |
None. |
|
| NotificationCategory | string |
None. |
|
| IsRead | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Title": "sample string 2",
"Body": "sample string 3",
"ReferenceId": "sample string 4",
"Image": "sample string 5",
"Type": "sample string 6",
"NotificationCategory": "sample string 7",
"IsRead": true
},
{
"Id": 1,
"Title": "sample string 2",
"Body": "sample string 3",
"ReferenceId": "sample string 4",
"Image": "sample string 5",
"Type": "sample string 6",
"NotificationCategory": "sample string 7",
"IsRead": true
}
]
application/xml, text/xml
Sample:
<ArrayOfNotificationContentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<NotificationContentViewModel>
<Body>sample string 3</Body>
<Id>1</Id>
<Image>sample string 5</Image>
<IsRead>true</IsRead>
<NotificationCategory>sample string 7</NotificationCategory>
<ReferenceId>sample string 4</ReferenceId>
<Title>sample string 2</Title>
<Type>sample string 6</Type>
</NotificationContentViewModel>
<NotificationContentViewModel>
<Body>sample string 3</Body>
<Id>1</Id>
<Image>sample string 5</Image>
<IsRead>true</IsRead>
<NotificationCategory>sample string 7</NotificationCategory>
<ReferenceId>sample string 4</ReferenceId>
<Title>sample string 2</Title>
<Type>sample string 6</Type>
</NotificationContentViewModel>
</ArrayOfNotificationContentViewModel>