Get task comments
This endpoint is deprecated.
POST
/api/RPC.common.Api.Tasks.getComments?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
idrequired | String | Task ID |
Request example
Get Task Comments:
{
"data" : [
{
"id" : 3077695
}
]
}cURL
Get Task Comments:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "id" : 3077695 } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Tasks.getComments?token=<TOKEN>"Response example
HTTP/1.1 200 OK
{
"result" : [
{
"comented_user" : "Admin Admin",
"comment_date_formated" : "25.05.2018 14:16:55",
"task_id" : 3077695,
"task_name" : "#11: Import of financial documents and payments",
"info" : "created the task",
"comment_date" : "2018-05-25 14:16:55"
},
{
"comment_date_formated" : "25.05.2018 19:37:51",
"comented_user" : "Admin Admin",
"task_id" : 3077695,
"task_name" : "#11: Import of financial documents and payments",
"info" : "edited the task",
"comment_date" : "2018-05-25 19:37:51"
},
{
"info" : "edited the task",
"comment_date" : "2018-05-28 16:25:29",
"comment_date_formated" : "28.05.2018 16:25:29",
"comented_user" : "Admin Admin",
"task_id" : 3077695,
"task_name" : "#11: Import of financial documents and payments"
},
{
"info" : "edited the task",
"task_id" : 3077695,
"comment_date_formated" : "29.05.2018 09:14:22",
"task_name" : "#11: Import of financial documents and payments",
"comment_date" : "2018-05-29 09:14:22",
"comented_user" : "Admin Admin"
},
{
"info" : "edited the task",
"task_name" : "#11: Import of financial documents and payments",
"task_id" : 3077695,
"comment_date_formated" : "29.05.2018 09:19:55",
"comment_date" : "2018-05-29 09:19:55",
"comented_user" : "Admin Admin"
},
{
"info" : "edited the task",
"comment_date" : "2018-05-29 11:37:12",
"comented_user" : "Admin Admin",
"task_id" : 3077695,
"comment_date_formated" : "29.05.2018 11:37:12",
"task_name" : "#11: Import of financial documents and payments"
},
{
"task_id" : 3077695,
"comment_date_formated" : "29.05.2018 12:43:12",
"task_name" : "#11: Import of financial documents and payments",
"info" : "edited the task",
"comented_user" : "Admin Admin",
"comment_date" : "2018-05-29 12:43:12"
}
]
}