Updating a folder item action

This REST service will update the action (start scan, suspend, cancel, end, resume) of a folder item (job, report pack, dashboard).

HTTPS method

POST

Service format

/services/folderitems/<fiid>

Query string parameters

None

POST data

Content-Type: application/x-www-form-urlencoded

action:

  • Run: action=2
  • Suspend: action=3
  • Cancel:action=4
  • End: action=5

Returns

The element containing updated XML with new action value
Example:
<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>

Refer to documented schema for more details.