Share via

Azure API Management - Request body examples

María Luz Micozzi 46 Reputation points
2021-06-22T21:45:21.87+00:00

In my APIs list of my APIM I have a POST operation that changes functionality according to the parameters on its request body. To represent that information on my developer portal I tried to add multiples examples to the operation but I can't do that. I also tried with the definition, but it only allows one example. How Can I add multiples examples or represent some way this multiples uses of this operation? Thanks

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

{count} votes

Answer accepted by question author
  1. JayaC-MSFT 5,606 Reputation points
    2021-07-19T13:11:43.283+00:00

    Hello @María Luz Micozzi , Apologies for the delay in response. You should be able to add multiple samples:

    115906-image.png

    https://stackoverflow.com/questions/65696387/how-can-i-pass-body-parameters-to-api-post-operation-using-api-management-action

    If you are still encountering the issue I would request you to open a support ticket with Microsoft Support if you have a subscription which allows you to do so.


0 additional answers

Sort by: Most helpful

Your answer

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