Trao đổi công việc
Danh sách trao đổi công việc
HTTP Request
[GET] /api/v6.1/task/{id}/comments
Query Parameters
Fields
| Fields | Type | Description |
|---|---|---|
| id | integer | Định danh |
| comment_title | string | Tiêu đề comment |
| comment | string | Nội dung comment |
| user_id | integer | Định danh người tạo |
| creator_display_name | string | Tên người tạo |
| created_at | string | Ngày trao đổi định dạng (Y-m-d H:i:s) |
Filtering
| Fields | Support | Type | Description |
|---|---|---|---|
| id | eq | integer | Định danh bình luận |
Sort
| Sort (field) | Direction |
|---|---|
| id | asc,desc |
Limit & Offset
| Type | Description | |
|---|---|---|
| Limit | integer | Lấy bao nhiêu bản ghi |
| Offset | integer | Bỏ qua bao nhiêu bản ghi |
Example
HTTP Request
GET api/v6.1/task/1/comments?fields=comment&limit=1&offset=1 HTTP/1.1
Host: example.getflycrm.com
Authorization: API TOKEN
Status
200 OK
Response
{
"data": [
{
"id": 4,
"comment": "TEST COMMENT API"
}
],
"has_more": false,
"offset": 0,
"limited": 1
}