POST api/v3/profile/sendNotification
Request Information
URI Parameters
None.
Body Parameters
notificationObj| Name | Description | Type | Additional information |
|---|---|---|---|
| toId | integer |
None. |
|
| firebaseToken | string |
None. |
|
| fromId | integer |
None. |
|
| title | integer |
None. |
|
| body | string |
None. |
|
| isMute | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"toId": 1,
"firebaseToken": "sample string 2",
"fromId": 3,
"title": 4,
"body": "sample string 5",
"isMute": true
}
application/xml, text/xml
Sample:
<notificationObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoryClickWebApi.Models"> <body>sample string 5</body> <firebaseToken>sample string 2</firebaseToken> <fromId>3</fromId> <isMute>true</isMute> <title>4</title> <toId>1</toId> </notificationObj>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>