Forum Discussion
Loop REST API with List.Generate with continuation token
Your code looks a little off. Not sure what
CombinedData = {Loop, ChangeType}
is supposed to do. Create a list of a list and a table ?
Does your first call (before the List.Generate) produce data ?
As you can probably appreciate it is nearly impossible to help with API queries without access to said API (which you may not be willing to provide for understandable reasons)
Yes, the first call does produce data. In Combined result i was attempting to combine the inital results with loop results as list to fit with List.Generate -- I can appreciate my code is off, this is my first attempt to work directly in M rather than in the UI. I appreciate your comments and help though!
- lbendlin2 years ago
Super User
- Squarefoot2 years agoFrequent Visitor
Thanks again, I'll work my way through that page. I guess the key issue is for this API is that I just need to send the same token over and over rather than using something like limit/offset. I'm sure it will fall into place eventually, thanks!