task.commentitem.getlist
Returns list of comments to a task.
Method parameters
Parameter | Description |
---|---|
TASKID | Task ID. A required parameter. |
ORDER | Array for result sorting. The field for sorting may take the following values:
|
FILTER | The array of the type {"filtered_field": "field value" [, ...]}. Filtered field can take the following values:
Optional. By default the entries are not filtered. |
Attention! Compliance to parameter sequence in the request is mandatory. If sequence is not observed, the request will be completed with errors.
Example
// Obtain all the comments for the task with ID=1 with ascending sorting by ID and filter by AUTHOR_ID BX24.callMethod( 'task.commentitem.getlist', [1, {'ID': 'asc'}, {'>AUTHOR_ID': 2}], function(result){ console.info(result.data()); console.log(result); } );
© «Bitrix24», 2001-2024