1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-16 11:38:11 +02:00
OpenIntegrations/docs/en/md/Bitrix24/Tasks-managment/Get-task-comments-list.md

39 lines
890 B
Markdown
Raw Normal View History

---
sidebar_position: 20
---
# Get comments list for a task
Get user comments list for a task
*Function GetTaskCommentsList(Val URL, Val TaskID, Val Filter = "", Val Token = "") Export*
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| URL | --url | String | URL of webhook or a Bitrix24 domain, when token used |
| TaskID | --task | Number, String | Task ID |
| Filter | --filter | Structure of Key-Value | Comments filter structure (see GetCommentsFilterStructure) |
| Token | --token | String | Access token, when not-webhook method used |
Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
```bsl title="Code example"
```
```sh title="CLI command example"
oint bitrix24 GetTaskCommentsList --url %url% --task %task% --filter %filter% --token %token%
```
```json title="Result"
```