Home > Cloud Cruiser 4 > REST API reference > Lookup tables > Export a lookup table to CSV

Export a lookup table to CSV

Exports the lookup values that are active on a specified date for the lookup table specified by title, in CSV format.

Resource URL

In version 4.0: POST http://<ccServerURL>/rest/v2/lookups/export/<title>

In version 4.1: POST http://<ccServerURL>/rest/v2/lookups/export

Request

Parameters
Version 4.0
Version 4.1 and later

For Cloud Cruiser 4.1, use the following parameters:

  Name Type Description
Header parameters (optional) title string The title of the lookup table from which to export data. The default title is default.
effectiveDate string The starting date for the new effective date range of the table, in yyyyMMdd format. Default is today's date.
Body

None

Response

Content-Type

text/csv

Body

The lookup values, in Lookup table CSV file format.

Example

URL invocation

POST http://localhost:8080/rest/v2/lookups/export

Java invocation
Request body

None

Response body
,,001,Micro VM
,,002,Small VM
,,004,Medium VM
,,008,Large VM
,,,Extra Large VM
Last modified

Tags

Classifications

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