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 a lookup table revision by ID

Get a lookup table revision by ID

Retrieves an effective date range (revision) specified by its ID, from 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/<revId>

Request

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

None

Response

Content-Type

application/xml

Body

The specified revision for the specified lookup table, as XML text with a root element of type lookups or JAXB type 
com.cloudcruiser.server.webservices.v2.dto.lookup.Revision.

Example
URL invocation

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

Java invocation
Request body

None

Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<revision xmlns="http://www.cloudcruiser.com/webservices/v2/Lookup" 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>
Last modified

Tags

This page has no custom tags.

Classifications

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