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.
2,111 questions
{count} votes

Accepted answer
  1. JayaC-MSFT 5,531 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 Answers by the question author, which helps users to know the answer solved the author's problem.