Download Student Lab Guide - IBM API Connect Proof of Technology v5.0.1.0 PDF

TitleStudent Lab Guide - IBM API Connect Proof of Technology v5.0.1.0
TagsCommand Line Interface Representational State Transfer Application Programming Interface Web Browser Json
File Size7.6 MB
Total Pages134
Document Text Contents
Page 68

In this lab, you will learn how to create advanced API assemblies. Using the graphical design tools and source
editor, you will create a new API called financing which will expose an existing SOAP service as a
RESTful API. Additionally, you will create another API called logistics which connects to existing public
services and uses the assembly tools to map responses into a desired format.

In the following lab, you will learn:

How to create a new API, including object definitions and paths
How to configure an API to access an existing SOAP service
How the source editor can be used to import an existing API definition
How to map data retrieved from multiple API calls into an aggregate response
How to use gatewayscript directly within an API assembly

In this tutorial, you will expand the product offerings for ThinkIBM. In addition to the Inventory API, ThinkIBM
wishes to provide API's that offer financing and shipping logistics to consumer applications. Your goal is to
utilize existing enterprise and public assets to create these API offerings.

1. If the API Designer screen has not already been launched, open a terminal and start the designer by
issuing the following commands:

Lab 5 - Advanced API Assembly

Lab 5 - Objective

Lab 5 - Case Study Used in this Tutorial

Lab 5 - Step by Step Lab Instructions

5.1 - Create the Financing API (REST to SOAP)

Page 133

11. There are also several out of the box Dashboards that you can play with by clicking on the
Load Saved Dashboard icon. Go ahead and open the api default Dashboard.

12. Here you will see some interesting visualizations that show graphs and charts with information about the
API Traffic that was processed.

13. Analytics data can be filtered over different time periods, and the widgets can even be automatically
refreshed. Click on the calendar icon which specifies the default time period of Last 7 days .

14. Click on Auto Refresh .

15. Set the refresh period to 5 seconds .

16. Return to the consumer application in the Chrome web browser. Navigate around the site and test out
some of the features in order to generate some additional API calls.

Similer Documents