POST api/Notification/SendBulk
Request Information
URI Parameters
None.
Body Parameters
SendBulkNotificationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FirmRegID | integer |
None. |
|
| data | Collection of SendNotificationModelInner |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirmRegID": 1,
"data": [
{
"channelId": 0,
"toAcID": 1,
"to": [
"sample string 1",
"sample string 2"
],
"title": "sample string 2",
"body": "sample string 3",
"EntID": 4
},
{
"channelId": 0,
"toAcID": 1,
"to": [
"sample string 1",
"sample string 2"
],
"title": "sample string 2",
"body": "sample string 3",
"EntID": 4
}
]
}
application/xml, text/xml
Sample:
<SendBulkNotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
<FirmRegID>1</FirmRegID>
<data>
<SendNotificationModelInner>
<EntID>4</EntID>
<body>sample string 3</body>
<title>sample string 2</title>
<to xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</to>
<channelId>promotional_notifications</channelId>
<toAcID>1</toAcID>
</SendNotificationModelInner>
<SendNotificationModelInner>
<EntID>4</EntID>
<body>sample string 3</body>
<title>sample string 2</title>
<to xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</to>
<channelId>promotional_notifications</channelId>
<toAcID>1</toAcID>
</SendNotificationModelInner>
</data>
</SendBulkNotificationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>