POST Marketing/AddPushNotification
Send Push Notification to all users that have accepted to receive push notifications
Request Information
URI Parameters
None.
Body Parameters
AddPushNotificationBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
Required |
|
| Body | string |
Required |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"Body": "sample string 2",
"Lang": "sample string 3",
"StoreID": 4
}
application/xml, text/xml
Sample:
<AddPushNotificationBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Marketing"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 3</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">4</StoreID> <Body>sample string 2</Body> <Title>sample string 1</Title> </AddPushNotificationBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.