POST api/AddUpdateNotification
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| objNotification | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[
{
"NotificationID": 1,
"ReciverID": 2,
"DeviceToken": "sample string 3",
"NotificationDate": "sample string 4",
"Title": "sample string 5",
"Description": "sample string 6",
"ImageURL": "sample string 7",
"RedirectToURL": "sample string 8",
"IsRead": true,
"UserTypeID": 10
},
{
"NotificationID": 1,
"ReciverID": 2,
"DeviceToken": "sample string 3",
"NotificationDate": "sample string 4",
"Title": "sample string 5",
"Description": "sample string 6",
"ImageURL": "sample string 7",
"RedirectToURL": "sample string 8",
"IsRead": true,
"UserTypeID": 10
},
{
"NotificationID": 1,
"ReciverID": 2,
"DeviceToken": "sample string 3",
"NotificationDate": "sample string 4",
"Title": "sample string 5",
"Description": "sample string 6",
"ImageURL": "sample string 7",
"RedirectToURL": "sample string 8",
"IsRead": true,
"UserTypeID": 10
}
]
text/html
Sample:
[{"NotificationID":1,"ReciverID":2,"DeviceToken":"sample string 3","NotificationDate":"sample string 4","Title":"sample string 5","Description":"sample string 6","ImageURL":"sample string 7","RedirectToURL":"sample string 8","IsRead":true,"UserTypeID":10},{"NotificationID":1,"ReciverID":2,"DeviceToken":"sample string 3","NotificationDate":"sample string 4","Title":"sample string 5","Description":"sample string 6","ImageURL":"sample string 7","RedirectToURL":"sample string 8","IsRead":true,"UserTypeID":10},{"NotificationID":1,"ReciverID":2,"DeviceToken":"sample string 3","NotificationDate":"sample string 4","Title":"sample string 5","Description":"sample string 6","ImageURL":"sample string 7","RedirectToURL":"sample string 8","IsRead":true,"UserTypeID":10}]
application/xml, text/xml
Sample:
<ArrayOfNotificationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Master">
<NotificationViewModel>
<Description>sample string 6</Description>
<DeviceToken>sample string 3</DeviceToken>
<ImageURL>sample string 7</ImageURL>
<IsRead>true</IsRead>
<NotificationDate>sample string 4</NotificationDate>
<NotificationID>1</NotificationID>
<ReciverID>2</ReciverID>
<RedirectToURL>sample string 8</RedirectToURL>
<Title>sample string 5</Title>
<UserTypeID>10</UserTypeID>
</NotificationViewModel>
<NotificationViewModel>
<Description>sample string 6</Description>
<DeviceToken>sample string 3</DeviceToken>
<ImageURL>sample string 7</ImageURL>
<IsRead>true</IsRead>
<NotificationDate>sample string 4</NotificationDate>
<NotificationID>1</NotificationID>
<ReciverID>2</ReciverID>
<RedirectToURL>sample string 8</RedirectToURL>
<Title>sample string 5</Title>
<UserTypeID>10</UserTypeID>
</NotificationViewModel>
<NotificationViewModel>
<Description>sample string 6</Description>
<DeviceToken>sample string 3</DeviceToken>
<ImageURL>sample string 7</ImageURL>
<IsRead>true</IsRead>
<NotificationDate>sample string 4</NotificationDate>
<NotificationID>1</NotificationID>
<ReciverID>2</ReciverID>
<RedirectToURL>sample string 8</RedirectToURL>
<Title>sample string 5</Title>
<UserTypeID>10</UserTypeID>
</NotificationViewModel>
</ArrayOfNotificationViewModel>
application/x-www-form-urlencoded
Sample: