What is an API-M?
In SAP CPI (Cloud Platform Integration), APIM stands for API Management, which is a capability within the SAP Integration Suite. It is designed to help organizations create, publish, and manage APIs that connect applications and systems both within and outside the enterprise. APIM provides a centralized platform to secure APIs with policies (such as authentication, rate limiting, IP whitelisting), monitor API usage, control access, and expose APIs through developer portals for external consumption..
Key components:
API Provider: Represents backend systems or services such as iFlow end point alias (which will do basic transformation or get the data from back end systems like DB, ECC, S4 Hana, Salesforce or any) or any other system that expose APIs.
API Proxy: The actual API interface for consumers/third pary systems, which are created to apply policies, transformations, and security before exposing the backend API URL.
API Product: A collection or bundle of one or more API proxies made available together to developers.
Security and Monitoring: Features like OAuth2, API keys, rate limiting, IP whitelisting, and built-in protections against attacks to secure APIs, plus analytics and monitoring to track API performance and usage.
Case Study:
1. Create a iflow, which will call back-end system to fetch the data either by using any connector or HTTP call.
Accepting the API Key thru queryparam
Save it and deploy the API Proxy.
Now test the API from Postman either APIKey as header or queryparam...
APIKey as queryparam
APIKey as header
That's all.
If you want to see list of subscriptions for the Product..
Go to HUB, select the product..
You can test from API portal also...and we can debug to identify the issue w.r.to policies / conversions and it's useful for complex flows.
Source: SAP Community.
Thanks for reading :-)
No comments:
Post a Comment