Showing posts with label SAP API Management. Show all posts
Showing posts with label SAP API Management. Show all posts

Saturday, October 10, 2020

Thursday, October 8, 2020

Tuesday, October 6, 2020

SAP API Management - Quota Policy - Flow Variables

Scenario: You want to pass the quota available count and quota used count in response

SAP API Management - Fault Rules

 Scenario: You want to send custom message using fault rules in case of Quota error

Monday, October 5, 2020

SAP API Management - Quota Policy - Conditional Quota Count

 Scenario: You want to assign different quotas based on client application

SAP API Management - Quota Policy - Flexi Type

Scenario: You want to start the counter for the Quota policy when the 1st request is received.

SAP API Management - Quota Policy - Rolling Window Type

  Scenario: You want to activate quota policy using rolling window type. In this case, counter will not be reset after particular interval of time.

SAP API Management - Quota Policy - Calendar Type

 Scenario: You want to activate quota policy from a particular datetime.

Sunday, October 4, 2020

SAP API Management - Quota Policy - Message Weight

 Scenario: You want to limit API calls/time interval based on message weight. 

SAP API Management - Quota Policy - Unique Counters

 Scenario: You want to limit API calls based on time interval for each client application

SAP API Management - Spike Arrest Policy

  Scenario: Suppose your backend system can handle 2 request per minute.

Monday, September 28, 2020

SAP API Management - Response Cache

Scenario: Instead of hitting your backend server multiple times, you want to cache the response for the data which is not updated frequently. 

Friday, September 25, 2020

Saturday, September 12, 2020

SAP API Management - Quota Policy

 Scenario: You want to limit API calls based on time interval.

SAP API Management - Conditional Flow

Scenario: Client always wants response in XML format. Now, if client sends GET request to /json path, target system sends a JSON response. So, there should be a conversion rule to convert JSON to XML before sending response back to the client.

Thursday, September 10, 2020

SAP API Management - Assign Message Policy

 Scenario: While sending the request, Client sends the search parameter in the form of query but Back-end system excepts it as a header parameter

Tuesday, September 8, 2020

SAP API Management - XML to JSON conversion

 Scenario: Target system returns the response in XML format. But Client wants the response in JSON format.

SAP API Management - JSON to XML conversion

 Scenario: Target system returns the response in JSON format. But Client wants the response in XML format.