Retrieving a list of templates
This REST service will retrieve a list of available job templates that you have access to in the Templates directory or any of its sub-folders..
HTTPS method
GETService format
/services/templates
Query string parameters
None
Returns
A list of job templates.
Example:
<folder-items>
<content-scan-job>
<id>33</id>
<name>Altoro Mutual</name>
<description>Scan of Altoro Mutual</description>
<parent href="https://localhost/ase/services/folders/2">
<id>2</id>
</parent>
<contact>Miriam</contact>
<state>
<id>1</id>
<name>Ready</name>
</state>
<action>
<id>1</id>
<name>None</name>
</action>
<options href="https://localhost/ase/services/folderitems/33/options">
<options/>
</content-scan-job>
</folder-items>
Refer to documented schema for more details.
What to do next
Use the 33 of the<id>33</id>
as
the templateid
in the next step: Creating a scan job based on templates