GET api/Notification?ClsName={ClsName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ClsName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Notifications| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationId | integer |
None. |
|
| ClassName | string |
None. |
|
| DivisionName | string |
None. |
|
| Title | string |
None. |
|
| Notification | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NotificationId": 1,
"ClassName": "sample string 2",
"DivisionName": "sample string 3",
"Title": "sample string 4",
"Notification": "sample string 5"
},
{
"NotificationId": 1,
"ClassName": "sample string 2",
"DivisionName": "sample string 3",
"Title": "sample string 4",
"Notification": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfNotifications xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnFirstWebApi.Models">
<Notifications>
<ClassName>sample string 2</ClassName>
<DivisionName>sample string 3</DivisionName>
<Notification>sample string 5</Notification>
<NotificationId>1</NotificationId>
<Title>sample string 4</Title>
</Notifications>
<Notifications>
<ClassName>sample string 2</ClassName>
<DivisionName>sample string 3</DivisionName>
<Notification>sample string 5</Notification>
<NotificationId>1</NotificationId>
<Title>sample string 4</Title>
</Notifications>
</ArrayOfNotifications>