Calling multiple API from APIM and combine the reponse without using Azure Function App

Yuzu 26 Reputation points
2022-01-13T09:16:47.77+00:00

Hi,
I have trained 3 models from Azure Machine Learning and created API for each model.
I want to create a solution to call all 3 API and combine the responses for me to insert the values into a synapse table or output as file.

Wondering if there is other possible alternative solution to creating an azure function to call all 3 API and combine the reponses?
Thanks,

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2022-01-17T10:44:33.987+00:00

    @Yuzu APIM does have the Send request policy that can help you to send the provided request to the specified URL. You can create multiple send request policies to call different URLs. Based on the response from these policies you can use C# experssion to build your combined request and pass it to your backend service. In your case, you can call the synapse REST services as the backend services to insert the value. Similarly, you can call any of the backend services in APIM that help you to create files in your desired location. If you want to store the file in the azure storage then you can leverage the storage REST API for the same.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.