Nav

Lab 4: (Optional) Explore Exchange for Complete System, Process and Experience APIs

Overview

Let’s briefly explore Anypoint Exchange and look at some of the assets that were used within the Omni Channel API.

Anypoint Exchange is a discovery interface (UI and API) where you can find Anypoint Connectors, Templates, Examples, APIs, API Fragments and custom assets that help make the adoption of the Anypoint Platform easier and faster for you and your teams.

Anypoint Exchange provides publicly official MuleSoft content that you can access using Anypoint Studio or from the MuleSoft website as soon as it is published. You can also publish private content to it through your Anypoint Platform organization that is shared only among the members of your organization.

Step 1: Open Anypoint Exchange

  1. Go to http://anypoint.mulesoft.com

    Login screen
  2. If you are not logged in, enter your credentials into the Username and Password fields.

    Enter credentials
  3. You should see the following landing page once you are logged in to Anypoint Platform.

    Anypoint platform
  4. Click on the icon labeled "Exchange"

    API Manager Icon

    Anypoint Exchange provides a searchable listing of APIs, connectors, templates, and examples. Let’s go and explore the assets for the your organization now. Make sure you have your organization selected in the left menu to focus the overview to only assets of this organization.

    module2_lab4_step1_exchange_home

Step 2: Explore the Product API

The Product API provides product information for Mythical’s storefront application. Let’s search the Exchange and explore the API.

  1. Click on All types and change the filter to REST APIs.

    module2 lab4 step2 6 filter assets
  2. In the Search field, type in 'product' and hit enter

    module2 lab4 step2 7 search product
  3. Click on the Product API tile to open the asset.

    module2 lab4 step2 8 select product api
    Be sure you are searching in your organization. In that way you restrict your search.
  4. Explore the Products API page. You can click on the 'API Summary’ link in the left hand navigation bar to try it.

    module2 lab4 step2 9 product api portal

Step 3: Explore the Order APIs

Next, let’s take a look at the Order API.

  1. First go back to the Exchange by clicking on Assets List in the left-hand navigation bar.

    module2 lab4 step3 10 asset list

    The Order API is available in your organization. Make sure your organization is selected.

    module2 lab4 step3 11 change business group
  2. If the filter is set to All types, click and change it to REST APIs.

    module2 lab4 step3 12 filter assets
  3. In the Search field, type in 'order' and hit enter

    module2 lab4 step3 13 search order
  4. Click on the Order API tile to open the asset.

    module2 lab4 step3 14 click order
  5. Explore the Order API page.

    module2 lab4 step3 15 order api portal

Step 4: Explore the Notification API

Next, let’s take a look at the Notification API.

  1. Go back to the Exchange by clicking on Assets List in the left-hand navigation bar.

    module2 lab4 step4 16 asset order list

    The Notification API is available in your organization. Make sure your organization is selected.

  2. If the filter is set to All types, click and change it to REST APIs.

    module2 lab4 step4 17 filter assets
  3. In the Search field, type in 'notification' and hit enter

    module2 lab4 step4 18 search notification
  4. Click on the Notification API tile to open the asset.

    module2 lab4 step4 19 click notification
  5. Explore the Notification API page

    module2 lab4 step4 20 notification api portal

Step 5: Explore the Customer API

Lastly, let’s take a look at the Customer API.

  1. Go back to the Exchange by clicking on Assets List in the left-hand navigation bar.

    module2 lab4 step5 21 asset list

    The Customer API is available in your organization. Make sure your organization is selected.

  2. If the filter is set to All types, click and change it to REST APIs.

    module2 lab4 step5 22 filter assets
  3. In the Search field, type in 'customer' and hit enter

    module2 lab4 step5 23 search customer
  4. Click on the Customer API tile to open the asset.

    module2 lab4 step5 24 click customer
  5. Explore the Customer API page

    module2 lab4 step5 25 customer api portal

Summary

As you’ve already experienced, Anypoint Exchange should be your initial starting point for just about any project. If you are looking to reuse an API then Anypoint Exchange is obviously where you should start. But even if you are creating a new API to be reused by others, it makes sense to first look in Exchange to see if the API already exists. Sometimes you will find that someone else has already undertaken the task of creating the API, or has created a subset of what you need.

Congratulations! You have completed Lab 4

This concludes all of the labs for Module 2. Please proceed to Module 3