Default Page Size: Difference between revisions

Ash (talk | contribs)
created a new wiki page to explain default page size setting available in model settings, linked from model settings page
 
Ash (talk | contribs)
mNo edit summary
Line 1: Line 1:
The Default Page Size setting controls the number of '''Records''' returned by [[MYOB]] or [[Xero]] per '''Page'''.
[[File:Default_Page_size_setting.png|300px|thumb|right|Page Size in Model settings]]
A '''Query or call''' sent to [[MYOB]] or [[Xero]] returns a '''Page''' of results ''wherever Pagination is possible''.  


A Record contains all '''Line Items''' details for that particular endpoint.
The Default Page Size setting controls the number of '''Records''' returned per page.
 
A Record contains '''all Line Items details''' for that particular endpoint.


Increasing the default page size decreases the calls required to fetch data, which in turn makes refreshes faster.
Increasing the default page size decreases the calls required to fetch data, which in turn makes refreshes faster.
Line 44: Line 47:
== MYOB Models ==
== MYOB Models ==
The default page size for MYOB Business API is 400 records per page, with a maximum of 1000 results per page.
The default page size for MYOB Business API is 400 records per page, with a maximum of 1000 results per page.
The page size settings apply to all the endpoints except the following:
The page size settings apply to all the endpoints ''except'' the following:
*[[MYOB Endpoint: Company|Company]]
*[[MYOB Endpoint: Company|Company]]
*[[MYOB Endpoint: CompanyPreferences|CompanyPreferences]]
*[[MYOB Endpoint: CompanyPreferences|CompanyPreferences]]