object screenitem.create(object/array screenItems)
创建聚合图形项目的方法.
(object/array)
Screen items to create.
聚合图形项目允许的方法 standard screen item properties.
(对象)
在创建聚合图形项目screenitemids
下面返回一个对象的ID. 返回对象ID的顺序与聚合图形项目的顺序相匹配.
在聚合图形的左上角创建一个显示图形的聚合图形项目.
Request:
{
"jsonrpc": "2.0",
"method": "screenitem.create",
"params": {
"screenid": 16,
"resourcetype": 0,
"resourceid": 612,
"x": 0,
"y": 0
},
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"id": 1
}
Response:
CScreenItem::create() in frontends/php/include/classes/api/services/CScreenItem.php.