cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JonHays1
Level: Powered On

Looping an HTTP call

Hello all,

 

I am having some issues tryign to figure out a way to make an API call loop over and over until the results return null.

 

Here is what I have:

 

Variable: startrecord = 1

 

HTTP call: 

 

https://api.bimtrackapp.co/v2/hubs/***/projects/***/issues

Paramater: startRecord = ("startRecord" variable)

The API/HTTP call rerutrns up 100 records per call. I need to find a way to make the HTTP call and then set the startrecord variable to 101. Then make the HTTP call with the updated variable. I then need to repeat this until the results are empty.

 

Hopefully this makes sense. Thanks for any help!!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Looping an HTTP call

Hi @JonHays1,

 

Could you please share more details about your requirement?

How would you like to set the startrecord variable? Do you want to increase 1 to the startrecord every time in the loop?

 

If yes, please refer to screenshot below to create the loop to increase 1 to the startrecord:

Capture.PNG

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Looping an HTTP call

Hi @JonHays1,

 

Could you please share more details about your requirement?

How would you like to set the startrecord variable? Do you want to increase 1 to the startrecord every time in the loop?

 

If yes, please refer to screenshot below to create the loop to increase 1 to the startrecord:

Capture.PNG

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

JonHays1
Level: Powered On

Re: Looping an HTTP call

Thank you for your help. I was able to resolve my issue.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,504)