Batch execute Operations on Assets that match a search pattern
Similar to doing batch updates against Assets that match a search pattern, you can send a payload that contains the name of an Operation to execute against all Assets that match.
Quickstart: Execute the QuickClose Operation on a set of Story Assets
This will execute the QuickClose
Operation on the same set of Story Assets that we matched in the bath update example above:
In YAML:
curl -i -X POST \
-H "Content-Type:text/yaml" \
-d \
'from: Story
where:
Scope: Scope:0
execute: QuickClose' \
'http://localhost/VersionOne.Web/api/asset'