POST v1/insChatMessage
Метод для збереження нотифікації.
Request Information
URI Parameters
None.
Body Parameters
ChatMessageNew| Name | Description | Type | Additional information |
|---|---|---|---|
| recipientID | integer |
None. |
|
| text |
Text повідомлення |
string |
Required |
| fileIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"recipientID": 1,
"text": "sample string 1",
"fileIDs": [
1,
2
]
}
Response Information
Resource Description
ModelIns| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID новоствореного об'єкта |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1
}