POST v1/api/notifications/sendNotificationToUsers
Request Information
URI Parameters
None.
Body Parameters
sendNotificationToUsersRequestName | Description | Type | Additional information |
---|---|---|---|
scheduledDateTime | string |
None. |
|
code | string |
None. |
|
body | string |
None. |
|
title | string |
None. |
|
sound | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "scheduledDateTime": "sample string 1", "code": "sample string 2", "body": "sample string 3", "title": "sample string 4", "sound": true }
application/xml, text/xml
Sample:
<sendNotificationToUsersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.sendNotificationToUsers"> <body>sample string 3</body> <code>sample string 2</code> <scheduledDateTime>sample string 1</scheduledDateTime> <sound>true</sound> <title>sample string 4</title> </sendNotificationToUsersRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"scheduledDateTime":"sample string 1","code":"sample string 2","body":"sample string 3","title":"sample string 4","sound":true}
Response Information
Resource Description
sendNotificationToUsersResultName | Description | Type | Additional information |
---|---|---|---|
errorMsg | string |
None. |
|
success | boolean |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errorMsg": "sample string 1", "success": true, "message": "sample string 3" }
application/xml, text/xml
Sample:
<sendNotificationToUsersResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.sendNotificationToUsers"> <errorMsg>sample string 1</errorMsg> <message>sample string 3</message> <success>true</success> </sendNotificationToUsersResult>
text/html
Sample:
{"errorMsg":"sample string 1","success":true,"message":"sample string 3"}