cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Showing output of GET API in document format(in flow)

I have a GET API that takes a "templateName" string value from user and appends it to query and gives response an array of objects such as

[

 {

  "attribute":"entity1",

  "id":1

 },

 {

  "attribute":"entity2",

   "id":2

  }

]

The number of objects in array depends on the templateName which is upto user. These "attribute"(s) will then be dynamically displayed to user as labels(document property type) under which user can enter other values and in the background a json would have been constructed like

{

  "entity1":"userInput1",

  "entity2":"userInput2"

This json would go as input to a post api with a different host(a different connector). I am trying to make a connector such that when the user IS IN THE FLOW and using this constructor to build a flow, he would enter templateName and would get text fields dynamically with the labels as "entity1",..;He/she will enter the value there and I have seen in that the document type generates a JSON behind; so I would pass that to the connector in the next stage. I have read about swagger also(x-ms-dynamic properties) but I still cant figure it  out. A little help will be really appreciated.

0 REPLIES 0

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (74,528)