HP CloudSystem Matrix/Matrix Operating Environment 7.2 Integration Interfaces API and CLI Operations Reference Guide

3 Operations
The supported operations are specified in the following sections, grouped by target data type.
Version
getVersion
Gets the IO product version.getVersionName
noneParameters
Product version string (e.g., “6.0.0”) or “Unknown if the version cannot
be determined.
String versionReturns
IOSoapExceptionExceptions
Template
listTemplates
Gets a list of templates. If the template.access.restricted configuration is
set to “true” in the conf\hpio.properties file, the result for non-Administrator
listTemplatesName
users only includes templates to which they are assigned. Unpublished
templates are included in the result only for Administrator and Architect
users.
noneParameters
List of TemplateInfo objects containing basic information about the
templates.
List<TemplateInfo>
templates
Returns
IOSoapExceptionExceptions
importTemplate
Adds a template definition. This operation may be performed only by an
infrastructure orchestration Administrator or Architect.
importTemplateName
A template definition encoded as an XML document, unmodified from a
template export operation.
byte templateXml[]Parameters
If true, overwrites the definition of an existing template with more recent
modification.
boolean forceOverwrite
noneReturns
InvalidParameterExceptionExceptions
IOSoapException
exportTemplate
Exports a template definition. This operation may be performed only by
an infrastructure orchestration Administrator or Architect.
exportTemplateName
The name of the template to export.String templateNameParameters
A template definition encoded as an XML document.byte[] templateXmlReturns
InvalidParameterExceptionExceptions
24 Operations