POST api/Notification/PushNotificationTest
Request Information
URI Parameters
None.
Body Parameters
KiviCOM.API.Business.Users.Notifications.PushNotifications.PushNotificationRequestInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceType | KiviCOM.API.Business.Users.Notifications.PushNotifications.PushNotificationsController+DeviceType |
None. |
|
| Message | string |
None. |
|
| DeviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceType": 0,
"Message": "sample string 1",
"DeviceId": "sample string 2"
}
text/xml
Sample:
<PushNotificationRequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KiviCOM.API.Business.Users.Notifications.PushNotifications"> <DeviceId>sample string 2</DeviceId> <DeviceType>Android</DeviceType> <Message>sample string 1</Message> </PushNotificationRequestInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
KiviCOM.API.Business.Users.Notifications.PushNotifications.PushNotificationResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"Message": "sample string 2"
}
text/xml
Sample:
<PushNotificationResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KiviCOM.API.Business.Users.Notifications.PushNotifications"> <IsSuccessful>true</IsSuccessful> <Message>sample string 2</Message> </PushNotificationResponseInfo>