POST api/NotificationContent/ReadNotificationContent/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}
application/xml, text/xml
Sample:
<NotificationContentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <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>