POST Values/SendTestNotification
Request Information
URI Parameters
None.
Body Parameters
TestNotifyName | Description | Type | Additional information |
---|---|---|---|
data | _clsUserNotification |
None. |
|
apns | apns |
None. |
|
token | string |
None. |
|
name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "data": { "NotificationID": 1, "NotificationTitle": "sample string 2", "NotificationBody": "sample string 3", "NotificationDate": "2025-01-05T00:02:54.6707109-04:00", "NotificationDay": "sample string 5", "NotificationTime": "sample string 6", "NotificationButtonsEnabled": true, "NotificationButtons": [ { "ButtonText": "sample string 1", "ButtonURL": "sample string 2", "ButtonURLParam": { "RequestID": 1, "UserID": 1 } }, { "ButtonText": "sample string 1", "ButtonURL": "sample string 2", "ButtonURLParam": { "RequestID": 1, "UserID": 1 } } ], "Category": "sample string 8", "IsVisited": true }, "apns": { "headers": { "apns_priority": "sample string 1" }, "payload": { "aps": { "alert": { "title": "sample string 1", "body": "sample string 2" }, "badge": 1, "category": "sample string 2" } } }, "token": "sample string 1", "name": "sample string 2" }
application/xml, text/xml
Sample:
<TestNotify xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KayakSharingWebApi.Core.Model"> <apns> <headers> <apns_priority>sample string 1</apns_priority> </headers> <payload> <aps> <alert> <body>sample string 2</body> <title>sample string 1</title> </alert> <badge>1</badge> <category>sample string 2</category> </aps> </payload> </apns> <data> <Category>sample string 8</Category> <IsVisited>true</IsVisited> <NotificationBody>sample string 3</NotificationBody> <NotificationButtons> <NotificationButtons> <ButtonText>sample string 1</ButtonText> <ButtonURL>sample string 2</ButtonURL> <ButtonURLParam> <RequestID>1</RequestID> <UserID>1</UserID> </ButtonURLParam> </NotificationButtons> <NotificationButtons> <ButtonText>sample string 1</ButtonText> <ButtonURL>sample string 2</ButtonURL> <ButtonURLParam> <RequestID>1</RequestID> <UserID>1</UserID> </ButtonURLParam> </NotificationButtons> </NotificationButtons> <NotificationButtonsEnabled>true</NotificationButtonsEnabled> <NotificationDate>2025-01-05T00:02:54.6707109-04:00</NotificationDate> <NotificationDay>sample string 5</NotificationDay> <NotificationID>1</NotificationID> <NotificationTime>sample string 6</NotificationTime> <NotificationTitle>sample string 2</NotificationTitle> </data> <name>sample string 2</name> <token>sample string 1</token> </TestNotify>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |