question

prabhakarb-2711 avatar image
0 Votes"
prabhakarb-2711 asked MikeUrnun answered

Azure AD: API Managent Invoke multiple external APIS from APIM

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @prabhakarb-2711 - Sorry for the delay in response. We are now actively investigating and will answer with our findings soon.

0 Votes 0 ·

1 Answer

MikeUrnun avatar image
1 Vote"
MikeUrnun answered

Hello @prabhakarb-2711

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.