Create comment for task

This endpoint is deprecated.
POST/api/RPC.common.Api.Tasks.setComment?token=<TOKEN>

Key Tasks.setComment · API version 2.0.0

Parameters

2 body parameters inside data[]
FieldTypeDescription
idrequiredStringTask ID
commentrequiredStringComment

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"
      }
   ]
}