POST api/Notification
Request Information
URI Parameters
None.
Body Parameters
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. |
Request 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
}
application/xml, text/xml
Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DetailFinderApp.Models"> <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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>