Announcements
Hi everyone,
our service consumer is trying to read data from our API, but there are too many records of data in one API request.
I have set a dataitem table view in the API design but the records are still too much.
The API response keeps running into an error.
Is there a way I can break the API request into batches?
$top=200000 didn't work, it ran into error of long response time.
I'm trying the limit and offset method.
I also saw that I could use 'start' instead of offset. So I'm trying both simultaneously
check my answer if it helped you, thanks
DANiele
This is an amazing article. I've been watching videos on SOAP and REST web services. But this is by far the most informative and relatable I have seen. Thanks.
Trying this approach now
hello
or try
?limit=0&offset=5000
?limit=5000&offset=10000
try ?$top=200000
Okay, I'll try this.
What of the remaining records? I have like 200,000 records.
So after the first 5,000...how do i get the remaining?
hi
look this also
learn.microsoft.com/.../api-design
check my answer if it helped you, thanks
DANiele
Hi
After your odata url add this for example:
?$top=5000
where 5000 is the revcord number you want to be returned
DAniele
André Arnaud de Cal...
294,190
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator