screenitem.delete

描述

object screenitem.delete(array screenItemIds)

删除聚合图形项目的方法.

参数

(array) 删除聚合图形项目的ID.

返回值

(对象)在删除聚合图形项目screenitemids下面返回一个对象的ID. 返回对象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.