Scheduling

Retrieve Task Comment

Work with a Task Comment.Retrieve a Task Comment with the given ID.

get/admin/scheduling/tasks-comments/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/scheduling/tasks-comments/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Task Comment.

Response

idnumber

ID of tasks comment

task_idnumber required

ID of the task

user_idnumber required

ID of the user

created_atstring

Datetime of adding. Format: 'YYYY-MM-DD HH:II:SS'. Default value: current datetime

commentstring

Comment text

is_pinnednumber

Indicates whether the task is pinned or not. A value of 1 means the task is pinned, and a value of 0 means the task is not pinned.

is_editedstring

Is edited. Default value: '0'

admin_namestring

Name of administrator who left comment

pinned_datetimestring

Date and time when comment was pinned. Format: 'YYYY-MM-DD HH:MM:SS'

Example response

{
  "id": 1,
  "task_id": 1,
  "user_id": 1,
  "created_at": "2019-06-18 12:32:59",
  "comment": "Some text",
  "is_pinned": 0,
  "files": [
    {
      "id": 7,
      "hash_id": "hash_id",
      "type": "scheduling_task_comment_attachment",
      "filename_original": "image.png",
      "filename_uploaded": "uploaded/file/name",
      "download_link": "https://your.splynx.domain/files?id={hash_id}&type=files_upload",
      "download_api_link": "admin/config/download/scheduling_task_comment_attachment--{id}",
      "download_all_api_link": "admin/config/download/scheduling_task_comment_attachment--{task_id}--all",
      "task_id": 5,
      "comment_id": 1,
      "has_thumbnail": true,
      "thumbnail_link": "your.splynx.domen/files--thumbnail?id={hash_id}&type=files_upload"
    }
  ],
  "is_edited": "0",
  "admin_name": "Splynx admin",
  "pinned_datetime": "2025-09-01 12:56:39"
}

Changes

No recorded changes to this operation across all 1 revision of this API.