API Management (APIM) Scenarios

In the following API management (APIM) scenarios, you’ll be able to understand 14 most useful and common API management features that can benefit you and your organization. These user cases of fictitious personas aim to guide you through the API management scenarios which can be applied to real-life situations.

User Case

TPIsoftware is a technology company that runs “API as a Service” model, providing multiple API resources that empower internal and external users and clients to build services with higher efficiency and resilience. The Technical Team, Financial Department and Platform Development Department are one of the teams that use lots of APIs to provide their services to internal and external stakeholders.

Anny works with a technical team and manages API strategy and resource planning. The rapidly increasing number of APIs with different departments/ parties’ needs of API management functions has resulted in growing management and communication costs.

Anny has implemented digiRunner API management platform as an API hub, so her organization is able to manage the growing APIs in number within one interface and fulfill internal/external users’ API requirements with ease to reduce the IT burden.

Scenario 1: Platform Permission

In this scenario you will learn how to build an organization with different permission levels for each department with specific function modules.

User Story

The Financial Department and Platform Development Department would like to leverage digiRunner to develop and manage API lifecycle, and both need different function modules for their team members (Approver, IT, Developer, etc.).

Anny as “HQ_Admin” with the highest permission level for the platform, is going to start with the setup of platform hierarchy relations based on Financial Department’s (BU-1) needs, and grant role permissions also users (e.g. Admin_Approver) to access different digiRunner platform functions ​modules.

BU-1 Admin_Approver Role permission needs:

Function Module:

  • User Management: User Maintenance/Update Profile
  • Client Management: Client Management
  • API Management: API List
  • Client Certificate: ALL
  • Reports: ALL
  • Application Form: Applications
  • System Information: API Key Approval History/ API Shelves Search/Schedule/Cycle Schedule Job/Mail Log

Role Mapping: (as Admin_Approver, with the permission to approve specific roles’ request)

  • Manger: bu_admin_appr
  • IT member:bu_admin_it
  • Developer:bu_dev

Steps

Step 1: Manage Organization

Click the “User Management” of the function module bar on the left, then go to “Organization” to create an organization chart.

Enter your organization information (BU-01, Admin_Approver), then click “Add” to create the new organization nodes on the chart.
Step 2: Create Role
Click the “User Management” of the left function module bar.
Go to “Role Management” to create the Role (BU_Admin_Approver).
Enter the Role Name and Role Alias(BU_Admin_Approver), then check the functions from the “Function list” that the Role is allowed to access. Click “Create” to create the role.
Step 3: Role Mapping
Click the “User Management” of the left function module bar.
Go to “Role Mapping” to create and grant the role list to Role “BU_Admin_Approver”. Assign the role list (BU_Admin_Approver, BU_Admin_IT, BU_dev) to BU_Admin_Approver.
Step 4: Create User
Click the “User Management” of the left function module bar.
Go to “User Maintenance” to create a user under BU-01 organization and grant the role “BU_Admin_Approver” to access the specific functions.

Scenario 2: API Proxy (API Register)

In this scenario you will learn how to register your API to digiRunner from different AP servers, and enable the delegation of API proxy with digiRunner.

User Story

The Financial Department has dozens of APIs from different servers (AP, DB, FTP, etc) and would like to manage them in one platform. With digiRunner API Proxy (API Register) service, the team can easily register APIs to digiRunner via API url (http / https), or can register the APIs via Swagger document to digiRunner and delegate digiRunner to handle the proxy and management works. The “currencyRate” API is one of the target APIs registered to digiRunner.

Steps

Step 1: API Register
Click the “API Management” of the left function module bar. Go to “API Register” to register the target API – currencyRate
Step 2: Customize API
Click “Customize” and enter the required information (Source URL, Module Name, APIKey (API ID) and Http Method).
Since the CurrencyRate provides public information and no authorization is needed, check the “No Oauth Required” column.
Click “Register” to finish the process.
Step 3: Click Enable
Now you can find the “currencyRate API” at “API List”.
Click “Enable” to enable the selected API (Status light shows in green after successfully enabled).
  • Tips: API Register means the API still exists in your AP server and delegate digiRunner to do the API proxy thing.

Scenario 3: API Encryption

In this scenario you will learn how to add JWE/JWS encryption to the API via digiRunner Admin Console without additional coding efforts.

User Story

For information security purposes, TPIsoftware has announced that all classified information transferred within or outside the organization should be encrypted, which includes APIs.
In compliance with the regulation, digiRunner provides codeless API encryption function, and platform users like Anny or any who with API edit permission can add the JWE/JWS to their own APIs through digiRunner Admin Console. Besides, the API list allows users to see if JWE/JWS encryption has been applied to the APIs or not. Here we take “fileTransform” API as example:

Steps

Step 1: Search on API List
Click the “API Management” of the left function module bar.
Go to “API List” to search the target API (fileTransform API)
Step 2: Update API
Click “Update” at the “Action” area (at the end of the column) to update the API settings.
Open the “JWT Setting” button and select the request/ response encryption way then click “Update” to save the setting.
Step 3: JWT Setting
Updated JWT setting will show in the “API List” API information area.

Scenario 4: API Switch (On / Off)

In this scenario you’ll be able to know how to easily enable or disable APIs via digiRunner Admin Console.

User Story

Anny and her team just finished the annual API resource inventory, and they found the APIs need to be disabled due to security concerns and some of them are no longer needed. The “backendConnection” API is one of the APIs that should be retired.
With digiRunner Admin Console, Anny can easily manage the APIs just by a few simple clicks.

Steps

Step 1: API List
Click the “API Management” of the left function module bar.
Go to “API List” to search the target API (backendConnection API)
Step 2: Select API
Select the target API and click the “Disable” button.
Step 3: Disable
The disabled API can still be searched on the API list, just the status light will be indicated in red.

Scenario 5: API Group and Client Management

In this scenario you’ll be able to experience the digiRunner API grouping feature, and group APIs from the same security level and attributes, then authorize to API clients at once.

User Story

To ensure information transfer security, every API and client has to mark its security level and specific API calls range. Client can only search the API group with the corresponding security level.

Anny and her team review the APIs in digiRunner, group them by security level and attributes. So when a new client has been created, the admin can easily authorize APIs by group instead of one by one.
API Group
Following the API security policy, all the APIs contributed from TPIsoftware members and certified partners are defined as “System Security” level. For easier authorization, API attributes are also one of the grouping rules. “Composer” group is one of the groups in the organization.
Client Management

Andy is the 3rd party API developer, who would like to leverage current composer related APIs.

To reach out to the current APIs needed, Anny directly grants the specific API groups with the same security level to him (client: tsp1) instead of assigning APIs one by one.

Steps

API Group
Step 1: Create Group
Click the “Client Management” of the left function module bar.
Go to “API Group Management” and click the “Create Group” button to create a new group.
Step 2: Choose Module
Group Name: Composer
Provide detailed setting information of the group, and then click “Choose Module” to select the specific module to assign to the group.
Click “UseChoose” to apply the setting.
Step 3: Choose API
Click “Choose API” to select the APIs. For the “Composer” Group, the “fileTransform” and “backendConnection” API should be assigned to the group.
Click “UseChoose” to apply the setting.
Check if all the settings have been applied, and click “Create” to finish the Group creation process.
Client Management
Step 1: Create Client
Click the “Client Management” of the left function module bar.
Go to “Client Management” click “Create” to create the new client.
Enter the setting information (ID, name, display name, password, owner, status and public status) of the client (Client ID: tsp1), then click the “Create” button at the bottom of creation form.
Step 2: Security Setting
Search client “tsp1” at the “Client Management” search bar, then click “Security” at the Action column to set the security information.
Step 3: Group Authorization
Click the “Group authorization setting” tab and then click “Group Setting” at the “Security” to update the authorized group.
Step 4: Group Setting
Assign group “Composer”, “dppublic” and “Public” groups to the client, then click “Update” to update the setting.
Step 5: Token Setting
Click the “Token Setting” tab in “Security”, update “OAuth grant type”, “Access token expire” and “Refresh token expire”information.
Click “Update” to save the change and then click “Return to List” to finish the process.

Scenario 6: Data Format Transformation

(Available at digiRunner Enterprise)

In this scenario, you’ll be able to experience digiRunner low-code API composer feature to convert the API data format easily to formats such as XML to Json as long as the API has a http protocol (http/https).

User Story

Managing APIs from different parties and servers is not easy, since there might be different formats of APIs. But for TPIsoftware is not a big thing. Anny has one API in XML format, by simply registering the API to digiRunner and using digiRunner API Composer, the format can be quickly converted from XML to Json.

Steps

Step 1: Choose target API

Go to “API List” under “API Management” of the left function module bar.
Select API “fileTransform” template, and click “Update” of the Action column to enter API editing page.

Step 2: Export API Template
Click “Open Composer” to enter “digiRunner Composer”.
Click the “Export” drop-down menu at the upper right corner to export the API to .Json.
Step 3: Create New API
Go to “API Composer” under “API List” of the left function module bar.
Enter the required information and then click “Composer” to go to digiRunner Composer.
Step 4: Import to API Composer
Click “Import” to import the .Json file.
Then edit Node to customize the API function.
Step 5: Deploy
After editing, click the “Deploy” button for deployment.

Scenario 7: Backend System Connection

(Available at digiRunner Enterprise)
In this scenario you will learn how digiRunner low-code API Composer that provides diverse function nodes allows you to make an API connected to your backend system such as MQ and SAP RFC simply with drag-and-drop action for the function nodes.

User Story

TPIsoftware positions digiRunner as an API resourcing hub of the company and connects it to its several backend systems. However, usually it takes some time to develop an API to do the connection effort to the backend system. Not to mention there’re lots of systems that need to be connected. This is why the API composer has been created: To ease the coding burden.
The infra engineer of Platform Development Department simply uses digiRunner API composer with powerful low-code features to design a new API by dragging and dropping the function nodes within 5 mins.

Steps

Step 1: API Composer
Go to “API List” under “API Composer” of the left function module bar.
Enter the required information then click “Composer” to go to digiRunner Composer.
Step 2: Import .Jason

Click “Import” to import the template API .Json file.

Step 3: Edit Node
Edit Nodes to customize the API function.
Step 4: Deploy
After editing, click the “Deploy” button to deploy.

Scenario 8: API Authorization

In this scenario you will learn how to use digiRunner Admin Console to set your APIs’ authorization. digiRunner provides the following authorization methods: Public, API Key, OAuth 2.0 (Client Credential/ Password/ Auth Code/ Implicit).

User Story

Andy is one of the 3rd party developers to reach API resources through digiRunner Developer Portal (External entrance to reach API applications) outside of TPIsoftware organization.
His API authorization method has been set with OAuth:Client Credential. To make sure he can only successfully get specific API responses from the API designed for being open to the public rather than internal development purposes inside of TPIsoftware.

Steps

  • API registered on digiRunner are granted with ALL OAuth2 flow by default.
Step 1: Client Management
Go to “Client Management” under “Client Management” of the left function module bar. Search the target client(tsp1).
Step 2: Security
Click “Security” at the Action column to set the security information.
Step 3: Token Setting
Click the “Token Setting” bookmark.
Step 4: OAuth grant type
Set the authentication type(client credential) at “OAuth grant Type”
Click “update” to save the changes.

Scenario 9: API Test

In this scenario, you will learn how to simply validate if your API proxy or API URL works via digiRunner Admin Console.

User Story

The Financial Department IT would like to check if the “currencyRate” API still works. He finished the API test task with simple clicks through digiRunner Admin Console.

Steps

Step 1: API Test
Click the “API Management” of the left function module bar.
Go to “API Test” to test the target API (currencyRate API)
Step 2: Insert Test Info.
Enter Token information and provide target digiRunner URL, Http method, Request Header and Request Body.
Step 3: Send Request
Click “Send request” to see if you get response successfully .

Scenario 10: API Statistic Report

digiRunner also features API Statistic Reports for organizations such as the report on which API is the most popular and which client calls the API most frequently. Platform users can be provided with data insight to enhance the operation efficiency and API strategy optimization. (digiRunner provides reports such as the following API Usage, API Call, Traffic and Time Analysis, Bad Attempt Connection, Client Usage, Client – API Usage, API Integrity Analysis, etc.)

User Story

User related data is definitely one of the most important parts to analyze the user behavior for operation strategy development. The Financial Department would like to know which API is the most popular one for their clients, and to see what they can do to improve their Fincience API design plan.

Steps

Step 1: API Calls
Click the “Report” of the left function module bar.
Go to “API Call” to see the call trend.
Step 2: Filter Setting
Select the time period and add a filter if needed.
Mouse over the green bar to see further information and numbers.
Step 3: (optional): Inspect CSV
Click the 3 dots icon at the upper right corner and select “Inspect” to see the detailed data. Download CSV if needed.

Scenario 11: API Log

(Available at digiRunner Enterprise)
In this scenario you will learn how to easily search API logs through API reports in digiRunner Admin Console.
(digiRunner provides reports like: API Usage, API Call, Traffic and Time Analysis, Bad Attempt Connection, Client Usage, Client – API Usage, API Integrity Analysis…etc).

User Story

The IT staff of Financial Department received the user feedback suggesting “currencyRate” API transaction error these days. To solve the problem, examining the API log is the first step. By searching “currencyRate” API logs through API reports in digiRunner Admin Console, the IT staff easily finds out the problem from the log data.

Steps

Step 1: API Text Search
Click the “Report” of the left function module bar.
Go to “API Search” to view the API Logs.
Step 2: Filter Setting
Select the time period.
Add filter of “currencyRate” API to specify the search range and click “Search” to see the API logs.

Scenario 12: API Proxy Security

In this scenario you’ll be able to understand digiRunner’s feature of security: WAF protection, traffic control and IP bound.

User Story

For adherence to the security policy, all contributors leveraging digiRunner APIM platform within TPIsoftwars can only access the platform through specific IP (111.111.10.100). Through Client Management in Admin Console, the platform manager can easily manage the traffic control and IP bound.

Steps

Step 1: Client Management
Go to “Client Management” under “Client Management” of the left function module bar. Click “Create” to start the process.
Step 2: Host IP List
Insert the IP: 111.111.10.100 at the “Host IP list” column and provide Host Name.
Step 3: API Quota
Configure the API traffic setting through providing specific range to “API Quota” and “TPS”. (API Quota = 0 means there’s no API call limitation of this client.)

Scenario 13: API Developer Portal & API Publication

(Available at digiRunner Enterprise)
In this scenario you will learn how to publish your APIs to API Developer Portal for internal and external parties. Configure the publication status (Internal/External) so your partners (API Clients) can search the APIs they need and request for authorization through one entrance.

User Story

The Financial Department found out that the ”Currency Rate” API is the most popular API among current clients. They plan to enable the API to be searched on API Developer Portal for easier search/ access to internal and external parties.
Different members are assigned with different platform permission levels under the organization design. Following the permission design, the Finance Department customizes the workflow to control the process of creating API shelves to developer portal (approve or reject the request) in digiRunner Admin Console. Therefore, the creation of these applications will be under review and based on the organization’s requirements.

Steps

Request
Step 1: API Shelves Requisitions
Click the “Application Form” of the left function module bar.
Go to “API Shelves Requisitions” and provide the required information, then click “Save” to save the requisition ticket.
Step 2: Submit for Review
Go to “Application” under “Application Form” of the left function module bar.
Click “Submit for review” at the “Action” column for the approver’s review.
Step 3: Check Status
After submitting for review, you can search the ticket to see the latest status at the same page. (Application Form > Applications)
Approve
Step 1: Pending Order (1st & Final)
Approver can view a list of pending reviews at “Pending order” tab by clicking “Application” under “Application Form” of the left function module bar.
Step 2: Sign Off (1st & Final)
Click “Sign off” to see the request details and conduct the review actions.
Step 3: Passed (1st & Final)
Provide sign off comments and click Passed.
Approver can check the reviewed ticket at “Reviewed” tab, and search the ticket tracking history by clicking “Tracker” at the “Action” column.
Step 4: Developer Portal (Final)
After all approved, the API can be searched on the Developer Portal and accessed by external clients.

Scenario 14: API Developer Portal Management

(Available at digiRunner Enterprise)
In this scenario you will learn how to manage API Developer Portal or make an announcement on Developer Portal through digiRunner Admin Console.
You can manage the following features of API Developer Portal through the Admin console: API Theme, FAQ, About Us, SiteMap, Announcement, and Swagger Settings.

User Story

Anny updated a new API Theme – Account Service and made the announcement to API Developer Portal users of the latest update. To finish the process, Anny simply managed it through Admin Console.

Steps

Step 1: API Theme
Click the “Web Portal Manager” of the left function module bar.
Go to “API Theme” to create a new theme and provide the theme image.
Step 2: Announcement
Click the “Web Portal Manager” of the left function module bar.
Go to “Announcement” to create a new announcement of the new API theme launched.
Step 3: Developer Portal
All the settings on Admin Console have been successfully updated to Developer Portal.
API Theme – Account Service
Announcement – New API Theme Launched