Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Pentaho CTools

You're reading from  Learning Pentaho CTools

Product type Book
Published in May 2016
Publisher Packt
ISBN-13 9781785283420
Pages 388 pages
Edition 1st Edition
Languages
Author (1):
Miguel Gaspar Miguel Gaspar
Profile icon Miguel Gaspar

Table of Contents (17) Chapters

Learning Pentaho CTools
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with CTools 2. Acquiring Data with CDA 3. Building the Dashboard Using CDF 4. Leverage the Process with CDE 5. Applying Filters to the Dashboard 6. Tables, Templates, Exports, and Text Components 7. Advanced Concepts Using CDF and CDE 8. Visualizations Using CCC 9. Pentaho App Builder 10. Embed, Deploy, and Debug Index

Web API reference


One of the interesting things in knowing how to work with the API is that we can use CDA to get data into an external application. This is interesting if we're not using CDE or CDF to build the dashboard. Anyhow, a good reason for you to know about the API is so you can go further when using CTools.

You can make requests to CDA using Web API. The base URL to use is $BASE_URL/$WEBAPP/plugin/cda/api/, where $BASE_URL is the protocol, hostname, and port, and $WEBAPP is the web application name used on Apache Tomcat, and the default webapp is defined as pentaho.

For example, the following URL is referring the pentaho webapp: http://localhost:8080/pentaho/plugin/cda/api/doQuery?path=/public/plugin-samples/cda/cdafiles/mondrian-jndi.cda&dataAccessId=1&paramstatus=Shipped

Next we will cover the available endpoint. An endpoint, defines the particulars of a specific endpoint at which a given service is available.

getCdaList

The getCdaList endpoint will get a list of all the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}