POST api/webhook/pushnotification/send
Request Information
URI Parameters
None.
Body Parameters
PushNotificationDataPayload| Name | Description | Type | Additional information |
|---|---|---|---|
| to | string |
None. |
|
| title | string |
None. |
|
| message | string |
None. |
|
| imageurl | string |
None. |
|
| notificationtype | integer |
None. |
|
| data | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"to": "sample string 1",
"title": "sample string 2",
"message": "sample string 3",
"imageurl": "sample string 4",
"notificationtype": 5,
"data": {}
}
application/xml, text/xml
Sample:
<PushNotificationDataPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEOWAY.Model.WhatsAppNotification"> <DynamicData /> <ImageUrl>sample string 4</ImageUrl> <Message>sample string 3</Message> <NotificationType>5</NotificationType> <Title>sample string 2</Title> <To>sample string 1</To> </PushNotificationDataPayload>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |