POST api/Notification
Request Information
URI Parameters
None.
Body Parameters
Collection of add_notification_dc| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationId | integer |
None. |
|
| UserId | integer |
None. |
|
| ittfid | integer |
None. |
|
| FromUserId | integer |
None. |
|
| Fromittfid | integer |
None. |
|
| LinkedRecordId | integer |
None. |
|
| Content | string |
None. |
|
| Status | string |
None. |
|
| Module | string |
None. |
|
| Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"NotificationId": 1,
"UserId": 1,
"ittfid": 1,
"FromUserId": 2,
"Fromittfid": 1,
"LinkedRecordId": 3,
"Content": "sample string 4",
"Status": "sample string 5",
"Module": "sample string 6",
"Deleted": 1
},
{
"NotificationId": 1,
"UserId": 1,
"ittfid": 1,
"FromUserId": 2,
"Fromittfid": 1,
"LinkedRecordId": 3,
"Content": "sample string 4",
"Status": "sample string 5",
"Module": "sample string 6",
"Deleted": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfadd_notification_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
<add_notification_dc>
<Content>sample string 4</Content>
<Deleted>1</Deleted>
<FromUserId>2</FromUserId>
<Fromittfid>1</Fromittfid>
<LinkedRecordId>3</LinkedRecordId>
<Module>sample string 6</Module>
<NotificationId>1</NotificationId>
<Status>sample string 5</Status>
<UserId>1</UserId>
<ittfid>1</ittfid>
</add_notification_dc>
<add_notification_dc>
<Content>sample string 4</Content>
<Deleted>1</Deleted>
<FromUserId>2</FromUserId>
<Fromittfid>1</Fromittfid>
<LinkedRecordId>3</LinkedRecordId>
<Module>sample string 6</Module>
<NotificationId>1</NotificationId>
<Status>sample string 5</Status>
<UserId>1</UserId>
<ittfid>1</ittfid>
</add_notification_dc>
</ArrayOfadd_notification_dc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>