POST api/broadcasts/sendtouser
Request Information
URI Parameters
None.
Body Parameters
UserNotificationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| fcm_token | string |
None. |
|
| title | string |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"fcm_token": "sample string 1",
"title": "sample string 2",
"message": "sample string 3",
"success": true
}
application/xml, text/xml
Sample:
<UserNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dbKey2h.Models"> <fcm_token>sample string 1</fcm_token> <message>sample string 3</message> <success>true</success> <title>sample string 2</title> </UserNotificationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.