This method allows to create new template screens该方法允许创建新的模板聚合图形.

    Parameters参数

    (object/array) Template screens to create要创建的模板聚合图形.

    Returns an object containing the IDs of the created template screens under the screenids property. The order of the returned IDs matches the order of the passed template screens.返回一个包含screenids属性下创建的模板聚合图形的ID的对象,返回的ID的顺序与传递的模板聚合图形的顺序相匹配。

    Examples范例

    Create a template screen创建模板聚合图形

    Create a template screen named “Graphs” with 2 rows and 3 columns and add a graph to the upper-left cell创建一个名为“Graphs”的模板聚合图形,带有2行和3列,并将图形添加到左上角的单元格。.

    Response响应:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. "screenids": [
    5. ]
    6. },
    7. "id": 1
    8. }

    Source来源

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