ApiRequest::getTaskList

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. ApiRequest
  4. getTaskList
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/yandex/toloka/apirequest.php
  • Класс: Bitrix\Sender\Integration\Yandex\Toloka\ApiRequest
  • Вызов: ApiRequest::getTaskList
public function getTaskList($params = [])
{
	$this->sendRequest(
		[
			'methodName' => 'project.list',
			'pool_id'    => $params['pool_id'] ?? 0,
			'limit'      => $params['limit'] ?? 10,
			'status'     => $params['status'] ?? 'ACTIVE',
			'sort'       => $params['sort'] ?? '-id',
		]
	);

	return $this->result;
}

Добавить комментарий