The Power of APIs

13
Entando Corporation www.entando.com

description

Integration of data coming from third-party systems doesn't have to be a complicated matter. API Engines can help you save time and deliver high quality results and information in real time. Entando can easily help you display from a single point of access data coming from: Business Intelligence Suites (eg Jaspersoft or Pentaho) Customer Relationship Management systems (eg SugarCRM) Social Media Other 3rd Party Systems

Transcript of The Power of APIs

Page 1: The Power of APIs

Entando Corporation

www.entando.com

Page 2: The Power of APIs

Who we are

OSBCMarket traction

•• 50k+ downloads worldwide (US, India, Europe)

•• 100+ supported organizations

•• 40+ partners

Fast growing

•• CRN Emerging vendor 2013

•• Hot OSS company – OSBC 2012

•• Expanding globally

Page 3: The Power of APIs

The Nexus of Forces

Social

Mobile

Information

Cloud

Page 4: The Power of APIs

● Enterprise horizontal portal ● Web content management ● Framework features

All in one platform

What we offer

Page 5: The Power of APIs

Topic of the day

The Power of APIs

Page 6: The Power of APIs

Why REST APIs

● Rich web clients can talk directly with your Application● Useful when integrating multiple different clients● RESTful way takes less effort● Work out-of-the-box, no setup, just a design model● Standardize development

Creating an API on standards that already exist makes it much easier for application developers to use your API.

Page 7: The Power of APIs

Guidelines

Entando REST APIs are designed with the following standards:

● Provide access to data & services via a standard JSON/XML-based Api

● All resources must be accessed using a base URI

<APPLICATION_BASE_URL>/api/rs/<LANG_CODE>/<NAMESPACE>/<RESOURCE_NAME>.<EXTENSION>?<QUERY_STRING>

myportal.com/api/rs/en/jcms/contents?contentType=CNG

myportal.com/api/rs/en/jcms/content.json?id=CNG51

● All response needs to be Self Documented

Page 8: The Power of APIs

Building a Card Manager(Api Definition)

Page 9: The Power of APIs

Building a Card Manager(Bean Definition)

Page 10: The Power of APIs

Building a Card Manager

public class CardManager {public List<Card> getCardsForApi(Properties properties) throws Throwable { String holder = properties.getProperty("holder"); return this.searchCards(holder); } public Card getCardForApi(Properties properties) throws Throwable { String idString = properties.getProperty("id"); int id = 0; try { id = Integer.parseInt(idString); } catch (NumberFormatException e) { throw new ApiException(IApiErrorCodes.API_PARAMETER_VALIDATION_ERROR, "Invalid number format for 'id' parameter - '" + idString + "'", Response.Status.CONFLICT); }…

Page 11: The Power of APIs

Entando REST APIs

Page 13: The Power of APIs

Thanks

[email protected]

@Entando

linkedin.com/company/Entando

facebook.com/Entando

Follow us