删除

描述

object screenitem.delete(array **screenItemIds**)

此方法允许删除一个聚合图形项

参数

(array) 删除聚合图形项的IDs

返回值

(object) 返回在screenitemids属性下包含已删除聚合图形项的id的对象。

示例如下

删除多个聚合图像项

删除两个聚合图形项

Request:

  1. {
  2. "jsonrpc": "2.0",
  3. "method": "screenitem.delete",
  4. "params": [
  5. "65",
  6. "63"
  7. ],
  8. "auth": "3a57200802b24cda67c4e4010b50c065",
  9. "id": 1
  10. }

Response:

  1. {
  2. "jsonrpc": "2.0",
  3. "result": {
  4. "screenitemids": [
  5. "65",
  6. "63"
  7. ]
  8. },
  9. "id": 1
  10. }

猜你想看

CScreenItem::delete() in frontends/php/include/classes/api/services/CScreenItem.php.