Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
CraigSchulz
Helper II
Helper II

API calls with Pagination

Using the code below I am able to access data via an API and pull the first 100 records. My problem and my question is, how can I get this code to iterate through a series of offsets so that I can pull 2000 records instead of just 100?

 

let
Source = Json.Document(Web.Contents("https://api.recruiterbox.com/v2/candidates?limit=100&offset=0")),
objects = Source[objects],
expandrecords = Table.FromRecords(objects),

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi CraigSchulz,

 

It's more related to the rest api you use. I recommend you to read more documentation about the api about how to query more rows of records like https://api.recruiterbox.com/v2/candidates?limit=2000&offset=0

 

Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi CraigSchulz,

 

It's more related to the rest api you use. I recommend you to read more documentation about the api about how to query more rows of records like https://api.recruiterbox.com/v2/candidates?limit=2000&offset=0

 

Regards,

Jimmy Tao

Okay, thanks for the input.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.