API request requires a limit and offset. How do I increase my offset (+50) in my until loop to get through all of the pages.

Bill Bird 81 Reputation points
2022-01-03T21:41:30.643+00:00

162042-image.png

In the picture you will notice I have

URL?limit=1,&offset=0

What I want to do is:

URL?limit=50,&offset=0

Is it done? no

URL?limit=50,&offset=50

Is it done? no

URL?limit=50,&offset=100

Is it done? yes

sink

but I don't know how to dynamically increment my offset and check to see if the request is done returning data.

Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
316 questions
0 comments No comments
{count} votes