Gets the comments for the specified task
Gets the comments for the defined tasks based on the pagination parameters provided in the query parameters.
Query parameters
-
The
page
define the current page number. It should be positive integer number and should start with minimum value 1.Minimum value is
1
. -
The
size
define number of records on each page. It should be positive integer number between 1 to 10000.Minimum value is
1
, maximum value is10000
. -
The
sort
parameter accepts an array of strings, allowing for multiple sorting criteria. By default, sorting order is ascending. -
The
name
parameter is an optional filter that allows you to narrow down the results based on specific name content.
GET
/cs-close-api/tasks/{id}/comments
curl \
--request GET 'https://customer.trintech.com/cs-close-api/tasks/{id}/comments'
Response examples (200)
{
"result": [
{
"id": 42,
"message": "string",
"commentDate": "2025-05-04T09:42:00Z",
"userFullName": "string"
}
],
"metadata": {
"totalElements": 42,
"totalPages": 42,
"first": true,
"last": true,
"empty": true,
"numberOfElements": 42,
"size": 42,
"sorted": true
}
}