此方法允许创建新的应用集。

    参数

    (object/array) 需要去创建的应用集。

    此方法接受创建的应用集带有 .

    返回值

    返回一个包含 “applicationID” 属性的应用程序 ID 的对象。 返回的ID的顺序与传递的应用程序的顺序相匹配

    创建一个应用集

    创建一个应用集来存储 SNMP 监控项。

    响应:

    来源

    CApplication::create() in frontends/php/include/classes/api/services/CApplication.php.

    Description

    This method allows to create new applications.

    (object/array) Applications to create.

    Return values

    Returns an object containing the IDs of the created applications under the applicationids property. The order of the returned IDs matches the order of the passed applications.

    Examples

    Creating an application

    Create an application to store SNMP items.

    Request:

    Response:

    CApplication::create() in frontends/php/include/classes/api/services/CApplication.php.