Announcements
Hello guys,
I am new to Business Central tool. Recently I started to work on it and I am checking all the information we can get from the REST API. I need to mention I am using a trial version. Now I have done a couple of request for one specific endpoint (Items) and I have more that 1000 items. All that information is coming in a single response which is quite worrying for me. According to the following link (https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/dynamics-rate-limits), it says: If the returned dataset contains multiple pages, then pages must be fetched using the continuation tokens. My problem is I don't see that token in my response. Is that feature just available for a full version of Business Central? What is the reason for not getting that property?
I hope you can help me guys. I would appreciate some comments.
Thank you.
Thank you very much. It was really useful. Have a good time!
Check the response header whether any response with "x-ms-continuation" .
Alternatively you can also use $top and $skip ,
https://www.odata.org/getting-started/basic-tutorial/#topskip
let say for fist page will be $top=1000
2nd page will be $skip=1000, 3rd page willl be $skip = 2000, ...
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156