更新文件夹项操作

该 REST 服务将更新文件夹项(作业、报告包、仪表板)的操作(启动扫描、暂挂、取消、结束、恢复)。

HTTPS 方法

发布

服务格式

/services/folderitems/<fiid>

查询字符串参数

POST 数据

内容类型:application/x-www-form-urlencoded

action

  • 运行: action=2
  • 暂挂: action=3
  • 取消:action=4
  • 结束: action=5

返回值

包含以新操作值更新的 XML 的元素
示例:
<report-pack>
   <id>12</id>
   <name>Quality</name>
   <description>Quality only reports, all jobs</description>
   <parent href="https://localhost/ase/services/folders/1">
     <id>1</id>
   </parent>
   <contact>Miriam</contact>
   <state>
      <id>1</id>
      <name>Ready</name>
   </state>
   <action>
     <id>2</id>
     <name>Run</name>
   </action>
   <reports href="https://localhost/ase/services/folderitems/12/reports">
     <count>11</count>
   </reports>
</report-pack>

请参阅文档记录的模式以获取更多详细信息。