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.

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.

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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 221 members 4,632 guests
Please welcome our newest community members: