Write, Bureaucrats, Administrators
3,244
edits
Line 19: | Line 19: | ||
Another way to prevent this error is by controlling the date range of the data you request. | Another way to prevent this error is by controlling the date range of the data you request. | ||
OdataLink provides an [[Archive Paging]] setting. This [[Models|model]] setting can either be set to '''By Month''' or '''By Year'''. Doing so ensures that OdataLink asks for small amounts of data. In other words, it asks for a single month or a single | OdataLink provides an [[Archive Paging]] setting. This [[Models|model]] setting can either be set to '''By Month''' or '''By Year'''. Doing so ensures that OdataLink asks for small amounts of data. In other words, it asks for a single month or a single year of data at a time. It chains multiple calls together to provide the complete data set. By paging in this way, this instructs Xero to look at a different kind of index and should allow you to retrieve all the data you need. | ||
See [[Editing a model's details]] for instructions on how to configure your model. | See [[Editing a model's details]] for instructions on how to configure your model. |