Forum Discussion
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
see attached
9 Replies
- lbendlinSuper User
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.
- kafreitassHelper I
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
- lbendlinSuper User
Where is the modified URL? I thought you need to call it for different IDs?
- kafreitassHelper I
lbendlin I made an example file, could you show me how to do this please? I'm having a lot of trouble