| Method | create.communication_comment |
|---|---|
| Description | Creating a comment on an appeal |
| Available to | Agent, Client |
| Necessary components for working with the method | Data API for configuration |
| Method weight | 1 point |
Request parameters
| Name | Type | Required | Valid values | Description |
|---|---|---|---|---|
access_token |
string | yes | Authentication session key | |
user_id |
number | no | Unique user identifier of the agent client on behalf of which the request is made Is required for the agentTo obtain a list of client users, you must use the method "get.customer_users" |
|
communication_id |
number | Unique identifier of the case | ||
communication_type |
enum | call,offline_message,chat,email |
Treatment type | |
comment |
string | Comment on request |
JSON request structure```json
{ "refresh_cache": false, "jsonrpc": "2.0", "id": "rMiS6Y5qt1OYo2m9S3S3z", "method": "create.communication_comment", "params": { "communication_id": "number", "communication_type": "enum", "comment": "string" } }
### JSON response structure```JSON
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"success": "true"
}
}
List of returned errors
See the section "List of errors for methods with the verb create"