Quick Start Guide

Legacy API Overview
HPCSA continues to support the RESTful API introduced in the CSA 3.x releases. We'll refer to
these calls as the Legacy CSA 3.x API or simply Legacy API. Though there is some overlap
between the information available through this API and through the ConsumptionAPI, the Legacy
API provides access to additional information not available through the Consumption API. The
Legacy API calls are documented in the HP Cloud Service Automation API Reference Guide. This
document includes information on each call’s:
l URI syntax
l Method (operation)
l Parameter descriptions
l Examples are often included
Deciding which API to use
The likely question you have after reading the previous content is, "How do I determine which API
to use?"
l In general, if the action you want to perform is possible using Consumption API (Marketplace
Portal integration being a typical use case), you should use those calls as they provide access
to the most current product functionality and information.
l If the action you want to perform is available only with the Legacy API, use those calls.
l And lastly, if you are working with an application developed using the Legacy API, and that
application will not be modified to use the Consumption API, you will likely want to use the
Legacy API as well. For example, if an application or several applications that work together,
attempt to use a mix of Legacy and Consumption API calls to access service offering
information, the content using the Legacy API might not have the same data fields available with
the Consumption API, possibly causing problems when the data is compared or is used
together.
HP Cloud Service Automation API calls
Consumption API
The following public API calls provide access to HP CSA consumer data. These calls are
documented and can be exercised through a browser at:
https://<host>:<port>/csa/apidocs.jsp, substituting the host and port information
appropriate for your CSA environment.They can also be exercised programmatically or through an
HTTP client. See "Retrieving Information from HPCSA 4.00 using RESTful calls" on page 10 for
more information on how to exercise HPCSA API calls.
HP Cloud Service Automation (4.00)Page 8 of 20
APIQuick Start
Contents