Azure AD: API Managent Invoke multiple external APIS from APIM

prabhakar b 36 Reputation points
2020-05-15T06:13:57.037+00:00

In API Management I configured one API. I would like to invoke two external API's to get some other data before invoking to my actual API:

Flow scenario:

  1. I have 3 API's (Ex: getOrderName (API-1) , getOrderPrice (API-2) and placeOrder (API-3))
  2. Here first I need to getOrderName from API-1.
  3. After getting order name from API-1, I need to call getOrderPrice API-2 to get price of the order.
  4. After getting price I have both Id and Price , Now I need to invoke API-3 which is actually registered with APIM .

I would like to invoke two API's before invoking my actual API in APIM. Is there any policy exist to achieve this.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,750 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,666 Reputation points Microsoft Employee
    2020-06-11T00:55:52.477+00:00

    Hello @prabhakar b

    There is send-request policy made available for the type of use-case you're looking to implement, please review: https://learn.microsoft.com/en-us/azure/api-management/api-management-advanced-policies#SendRequest

    2 people found this answer helpful.
    0 comments No comments