Forum Discussion

kafreitass's avatar
kafreitass
Helper I
3 years ago
Solved

Make an API call/parameter dynamic

Hi people!

Can anybody help me? Pleasee.

I'm having a hard time finding a solution. I've been trying for days

I'm trying to extract data through API. I have an Pedido table. To get the details of this request I need to use a different Rest URL and a mandatory parameter (id) is requested (PedidosDetalhes table). So I thought if it would be possible for me to consult my Pedido table where I have all the id (column). So I would make dynamic this mandatory parameter requested by the API. It is possible to use a List.Generate?

 

Result I would like to get

Thanks guys

9 Replies

  • Yes, you can do that.  Look at it from the other side. Have a list of IDs and then generate the URL for each ID separately.  Then append the results.

    • kafreitass's avatar
      kafreitass
      Helper I

      lbendlin 

      I changed the logic a little bit and this was the result I got. I think I have to use some dynamic form for the id value which is string

       

      • lbendlin's avatar
        lbendlin
        Super User

        Where is the modified URL?  I thought you need to call it for different IDs?