Adds a new comment to the specified task
Adds a new comment to the specified task. Comments cannot be blank and must be 4000 characters or less.
Path parameters
-
id
integer Required
POST
/cs-close-api/tasks/{id}/comments
curl \
--request POST 'http://close-service:8082/cs-close-api/tasks/{id}/comments' \
--header "Content-Type: application/json" \
--data '{"message":"string"}'
Request examples
{
"message": "string"
}
Response examples (200)
{
"id": 42,
"message": "string",
"commentDate": "2025-05-04T09:42:00Z",
"userFullName": "string"
}