Default Page Size

From OdataLink
Jump to navigation Jump to search
Page Size in Model settings

A Query or call sent to MYOB or Xero returns a Page of results wherever Pagination is possible.

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.

Recommended Settings

OdataLink recommends setting the largest default page size for Xero datafile based models.

For MYOB datafile based models, we recommend setting it to 100. Increasing the page size can be beneficial for smaller datafiles, but detrimental to large datafiles.

Xero Accounting Models

The default page size for Xero Accounting models is set to 100, which is the default page size for all Xero APIs.

The current page size can range from 50 to 1000 records returned per page.

The Page size settings apply to the following endpoints:

Xero Assets Models

The legacy page size for Xero Assets API was 10 Assets per page. The current page size for a Xero Assets model can range from 10 to 200 records per page. Note: We strongly recommend you set the Page Size to 200. The Page size settings apply to the following endpoints:

Xero Projects Models

The default page size for Xero Projects API is 50 Projects per page. The current page size for a Xero Projects Model can range from 50 to 500 records per page. The Page size settings apply to the following endpoints:

MYOB Models

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:


Related Topics

Editing a model's details

References

Xero Paging Overview

MYOB Paging Overview