POST SendNotificationByDeviceTokensAndMessage
Request Information
URI Parameters
None.
Body Parameters
PushNotificationsBindingModels| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceIds | string |
Required |
|
| notificationMessage | string |
Required |
|
| title | string |
Required |
|
| notificationTypeId | integer |
None. |
|
| deviceTokens | string |
None. |
|
| feedback | FeedbackCustomItemsModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"deviceIds": "sample string 1",
"notificationMessage": "sample string 2",
"title": "sample string 3",
"notificationTypeId": 1,
"deviceTokens": "sample string 4",
"feedback": {
"referenceId": 1,
"feedbackSurveyTypeId": 2,
"managementFeedbackModelId": 3
}
}
application/xml, text/xml
Sample:
<PushNotificationsBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.YottaResident.WebAPIs.Models">
<deviceIds>sample string 1</deviceIds>
<deviceTokens>sample string 4</deviceTokens>
<feedback>
<feedbackSurveyTypeId>2</feedbackSurveyTypeId>
<managementFeedbackModelId>3</managementFeedbackModelId>
<referenceId>1</referenceId>
</feedback>
<notificationMessage>sample string 2</notificationMessage>
<notificationTypeId>1</notificationTypeId>
<title>sample string 3</title>
</PushNotificationsBindingModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.