POST api/Notification/Send
Request Information
URI Parameters
None.
Body Parameters
NotificationEntityName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FromId | string |
Required String length: inclusive between 0 and 50 |
|
ToId | string |
Required String length: inclusive between 0 and 50 |
|
Title | string |
Required String length: inclusive between 0 and 100 |
|
Message | string |
Required |
|
RoomId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "FromId": "sample string 2", "ToId": "sample string 3", "Title": "sample string 4", "Message": "sample string 5", "RoomId": "sample string 6" }
text/html
Sample:
{"Id":1,"FromId":"sample string 2","ToId":"sample string 3","Title":"sample string 4","Message":"sample string 5","RoomId":"sample string 6"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Error | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Error": "sample string 2", "Data": {} }
text/html
Sample:
{"Status":true,"Error":"sample string 2","Data":{}}