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 3 > REST API reference > Reports > Get report names

Get report names

Retrieves all the report names available in your HPE Consumption Analytics Portal system or only the report names matching a pattern specified as a regular expression.

Resource URL

GET http://<ccServerURL>/rest/v1/reports/names?pattern=<pattern>​

Request

Parameters
  Name Type Description
URL path parameters (required) None
URL query parameters (optional) pattern string A regular expression. When specified, only reports whose names match this pattern are returned.
Body

None

Response

Content-Type

application/xml

Body

The report names, as XML text with a root element of type reportNames or JAXB type com.cloudcruiser.server.webservices.v1.dto.report.ReportNames.

Schema

This XML schema lists one or more report names.


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.cloudcruiser.com/webservices/v1/Report" targetNamespace="http://www.cloudcruiser.com/webservices/v1/Report">
  <xs:element name="reportNames">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" minOccurs="0" name="reportName" type="xs:string"/>
      </xs:sequence>
      <xs:attribute name="totalCount" type="xs:int"/>
      <xs:attribute name="retrievedCount" type="xs:int"/>
    </xs:complexType>
  </xs:element>
</xs:schema>

Example

URL invocation

GET http://localhost:8080/rest/v1/reports/names?pattern=Standard.*

Response body
<?xml version="1.0" encoding="UTF‐8" standalone="yes"?>
<reportNames xmlns="http://www.cloudcruiser.com/webservices/v1/Report" totalCount="31" retrievedCount="2">
  <reportName>StandardInvoice</reportName>
  <reportName>StandardInvoiceByPeriod</reportName>
</reportNames>
Last modified

Tags

This page has no custom tags.

Classifications

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