GET api/Notification/GetAll
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Notification| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Id_User_From | integer |
None. |
|
| Id_User_To | integer |
None. |
|
| Id_Noti_Type | integer |
None. |
|
| Noti_Type | string |
None. |
|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| IsAdmin | boolean |
None. |
|
| CreatedOn | string |
None. |
|
| ReadOn | string |
None. |
|
| CreatedBy | string |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| ReadEnabled | boolean |
None. |
|
| IsEmail | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Id_User_From": 2,
"Id_User_To": 3,
"Id_Noti_Type": 4,
"Noti_Type": "sample string 5",
"Message": "sample string 6",
"Status": true,
"IsAdmin": true,
"CreatedOn": "sample string 9",
"ReadOn": "sample string 10",
"CreatedBy": "sample string 11",
"Name": "sample string 12",
"Email": "sample string 13",
"ReadEnabled": true,
"IsEmail": true
},
{
"Id": 1,
"Id_User_From": 2,
"Id_User_To": 3,
"Id_Noti_Type": 4,
"Noti_Type": "sample string 5",
"Message": "sample string 6",
"Status": true,
"IsAdmin": true,
"CreatedOn": "sample string 9",
"ReadOn": "sample string 10",
"CreatedBy": "sample string 11",
"Name": "sample string 12",
"Email": "sample string 13",
"ReadEnabled": true,
"IsEmail": true
}
]
application/xml, text/xml
Sample:
<ArrayOfNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DetailFinderApp.Models">
<Notification>
<CreatedBy>sample string 11</CreatedBy>
<CreatedOn>sample string 9</CreatedOn>
<Email>sample string 13</Email>
<Id>1</Id>
<Id_Noti_Type>4</Id_Noti_Type>
<Id_User_From>2</Id_User_From>
<Id_User_To>3</Id_User_To>
<IsAdmin>true</IsAdmin>
<IsEmail>true</IsEmail>
<Message>sample string 6</Message>
<Name>sample string 12</Name>
<Noti_Type>sample string 5</Noti_Type>
<ReadEnabled>true</ReadEnabled>
<ReadOn>sample string 10</ReadOn>
<Status>true</Status>
</Notification>
<Notification>
<CreatedBy>sample string 11</CreatedBy>
<CreatedOn>sample string 9</CreatedOn>
<Email>sample string 13</Email>
<Id>1</Id>
<Id_Noti_Type>4</Id_Noti_Type>
<Id_User_From>2</Id_User_From>
<Id_User_To>3</Id_User_To>
<IsAdmin>true</IsAdmin>
<IsEmail>true</IsEmail>
<Message>sample string 6</Message>
<Name>sample string 12</Name>
<Noti_Type>sample string 5</Noti_Type>
<ReadEnabled>true</ReadEnabled>
<ReadOn>sample string 10</ReadOn>
<Status>true</Status>
</Notification>
</ArrayOfNotification>