Documentation

task.checklistitem.getlist

Returns the list of checklist elements in a task.

Method Parameters

ParameterDescription
TASKID Task ID. Required parameter.
ORDER Array for result sorting. The sorting field can take the following values:
  • ID – checklist element identifier;
  • CREATED_BY – ID of the user who has created the element;
  • TOGGLED_BY – ID of the user who has modified the check list element status;
  • TOGGLED_DATE – the time when the checklist element status was changed;
  • TITLE – checklist element header;
  • SORT_INDEX – element sorting index;
  • IS_COMPLETE – the element is marked as completed;
The sorting direction can take the following values:
  • asc – ascending;
  • desc – descending;
Optional. By default it is filtered by descending checklist element ID.

Attention! Compliance to parameter sequence in the request is mandatory. If sequence is not observed, the request will be completed with errors.

Example

BX24.callMethod(
   'task.checklistitem.getlist',
   [13, {'TOGGLED_DATE': 'desc'}],
   function(result){
      console.info(result.data());
      console.log(result);
   }
);


© «Bitrix24», 2001-2024
Up