Product Demo Posted November 30, 2021 Share Posted November 30, 2021 (edited) Hello For Sage Business Cloud API, based on the example of GET /business endpoint on https://developer.sage.com/api/accounting/guides/multi_business/, it shows that the items_per_page is 2147483647. Is that the default number of businesses that would be returned without any pagination parameters in the request? If not - are there pagination parameters available for the GET /businesses endpoint? Thanks Edited November 30, 2021 by Product Demo Link to comment Share on other sites More sharing options...
Steel, Mark Posted November 30, 2021 Share Posted November 30, 2021 Hi, thanks for the question. The businesses endpoint always returns all businesses available to the authorised user. As such, the need for pagination is not required. The engineering team responsible for the implementation of the endpoint wanted to maintain the same pagination formats as the other endpoints meaning they had to choose a number which would never be reached as the default. This is the only exception to the default items_per_page values of 20. Thanks Mark Link to comment Share on other sites More sharing options...
Product Demo Posted November 30, 2021 Author Share Posted November 30, 2021 Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now