object task.create(object task)
This method allows to create new task.
(object) A task to create.
The method accepts the following parameters.
6 - Check now.
|string/array||IDs of items and low-level discovery rules.|
Note that tasks can be created for the following types of items/discovery rules:
(object) Returns an object containing the IDs of the created tasks under the
taskids property. One task is created for each item and low-level discovery rule. The order of the returned IDs matches the order of the passed
Create a task
check now for two items. One is an item, the other is a low-level discovery rule.
CTask::create() in frontends/php/include/classes/api/services/CTask.php.