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 > Lookup tables > Get lookup table revisions

Get lookup table revisions

Retrieves all of the effective date date ranges (revisions) of a lookup table, specified by its ID.

This method is available in HPE Consumption Analytics Portal version 4.1 and later.

Resource URL

GET http://<ccServerURL>/rest/v2/lookups/<tableId>/revisions

Request

Parameters
  Name Type Description
URL path parameter (required) tableId integer The ID of the table containing the revisions to retrieve.
Body

None

Response

Content-Type

application/xml

Body

All revisions for the specified lookup tables, as XML text with a root element of type lookups or JAXB type
com.cloudcruiser.server.webservices.v2.dto.lookup.Revisions.

Example
URL invocation

GET http://localhost:8080/rest/v2/lookups/10300/revisions

Java invocation
Request body

None

Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<revisions xmlns="http://www.cloudcruiser.com/webservices/v2/Lookup">
  <revision id="10201">
    <LookupTable title="newVMSizes" id="10300"/>
    <startDate year="2016" month="1" day="1"/>
    <endDate year="2999" month="12" day="31"/>
    <detailTable entryCount="5">
      <entry order="1">
        <expression></expression>
        <lowId></lowId>
        <highId>001</highId>
        <targetId>Micro VM</targetId>
      </entry>
      <entry order="2">
        <expression></expression>
        <lowId></lowId>
        <highId>002</highId>
        <targetId>Small VM</targetId>
      </entry>
      <entry order="3">
        <expression></expression>
        <lowId></lowId>
        <highId>004</highId>
        <targetId>Medium VM</targetId>
      </entry>
      <entry order="4">
        <expression></expression>
        <lowId></lowId>
        <highId>008</highId>
        <targetId>Large VM</targetId>
      </entry>
      <entry order="5">
        <expression></expression>
        <lowId></lowId>
        <highId></highId>
        <targetId>Extra Large VM</targetId>
      </entry>
    </detailTable>
  </revision>
  <revision id="10200">
    <LookupTable title="newVMSizes" id="10300"/>
    <startDate year="2015" month="7" day="22"/>
    <endDate year="2015" month="12" day="31"/>
    <detailTable entryCount="5">
      <entry order="1">
        <expression></expression>
        <lowId></lowId>
        <highId>001</highId>
        <targetId>Micro VM</targetId>
      </entry>
      <entry order="2">
        <expression></expression>
        <lowId></lowId>
        <highId>002</highId>
        <targetId>Small VM</targetId>
      </entry>
      <entry order="3">
        <expression></expression>
        <lowId></lowId>
        <highId>004</highId>
        <targetId>Medium VM</targetId>
      </entry>
      <entry order="4">
        <expression></expression>
        <lowId></lowId>
        <highId>008</highId>
        <targetId>Large VM</targetId>
      </entry>
      <entry order="5">
        <expression></expression>
        <lowId></lowId>
        <highId></highId>
        <targetId>Extra Large VM</targetId>
      </entry>
    </detailTable>
  </revision>
</revisions>
Last modified

Tags

This page has no custom tags.

Classifications

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