Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 4 > REST API reference > Common XML schema

Common XML schema

This XML schema describes common objects that are used by methods for more than one object type. Methods specific to an object type are located in its section.

Version 4.0
Version 4.1 and later
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.cloudcruiser.com/webservices/v2/Common" attributeFormDefault="unqualified" elementFormDefault="qualified"targetNamespace="http://www.cloudcruiser.com/webservices/v2/Common">
  <xs:import/>
  <xs:element name="itemImportResult" type="tns:ItemImportResult"/>
  <xs:complexType name="StartOfDay">
    <xs:complexContent>
      <xs:extension base="tns:Date">
        <xs:sequence/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Date">
    <xs:sequence/>
    <xs:attribute name="year" type="xs:short" use="required"/>
    <xs:attribute name="month" type="xs:short" use="required"/>
    <xs:attribute name="day" type="xs:short" use="required"/>
  </xs:complexType>
  <xs:complexType name="EndOfDay">
    <xs:complexContent>
      <xs:extension base="tns:Date">
        <xs:sequence/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DateTime">
    <xs:complexContent>
      <xs:extension base="tns:Date">
        <xs:sequence/>
        <xs:attribute name="hours" type="xs:short" use="required"/>
        <xs:attribute name="minutes" type="xs:short" use="required"/>
        <xs:attribute name="seconds" type="xs:short" use="required"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="Service">
    <xs:sequence/>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="group" type="xs:string"/>
    <xs:attribute name="id" type="xs:int"/>
  </xs:complexType>
  <xs:complexType name="ConversionType">
    <xs:sequence/>
    <xs:attribute name="operator" type="conversionOperatorType" use="required"/>
    <xs:attribute name="operand" type="xs:double" use="required"/>
  </xs:complexType>
  <xs:complexType name="ItemImportResult">
    <xs:sequence>
      <xs:element name="importedSummary">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="totalItems" type="xs:int"/>
            <xs:element name="newItems" type="xs:int"/>
            <xs:element name="duplicateItems" type="xs:int"/>
            <xs:element name="updatedItems" type="xs:int"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="newItemNames">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="newItemName" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="duplicateItemNames">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="duplicateItemName" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element minOccurs="0" name="updatedItemNames">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="updatedItemName" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
Last modified

Tags

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP