更新資料夾項目動作

這個 REST 服務會更新資料夾項目(工作、報告套件、儀表板)的動作(開始掃描、暫停、取消、結束、回復)。

HTTPS 方法

POST

服務格式

/services/folderitems/<fiid>

查詢字串參數

POST 資料

Content-Type: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>

請參閱記載在文件中的綱目,以取得詳細資料。