Create comment for task
This endpoint is deprecated.
POST
/api/RPC.common.Api.Tasks.setComment?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
idrequired | String | Task ID |
commentrequired | String | Comment |
Request example
Create Task Comment:
{
"data" : [
{
"comment" : "Some Comment",
"id" : 100661729
}
]
}cURL
Create Task Comment:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "comment" : "Some Comment", "id" : 100661729 } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Tasks.setComment?token=<TOKEN>"Response example
HTTP/1.1 200 OK
{
"result" : [
{
"id" : 100661729,
"comment" : "Some Comment",
"status" : "success"
}
]
}