Configure OdataLink to poll for changes: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:


When sensitivity is set to +/- 2 month, it would use December to April when checking for changes in February.
When sensitivity is set to +/- 2 month, it would use December to April when checking for changes in February.
Doing this allows OdataLink to keep the archive up to date when transactions dates are changed.




Line 46: Line 48:


Polling for changes was primarily built to increase performance and reduce the costs Xero decided to charge for their API in December 2025. As such, we prioritised the following endpoints:
Polling for changes was primarily built to increase performance and reduce the costs Xero decided to charge for their API in December 2025. As such, we prioritised the following endpoints:
* [[Xero Accounting Endpoint: Contacts]]
'''Xero Accounting Endpoints'''
* [[Xero Accounting Endpoint: ContactsExpanded]]
* [[Xero Accounting Endpoint: Accounts|Accounts]]
* [[Xero Accounting Endpoint: ContactsExpandedTable]]
* [[Xero Accounting Endpoint: BankTransactions|BankTransactions]]
* [[Xero Accounting Endpoint: Invoices]]
* [[Xero Accounting Endpoint: BankTransactionsExpanded|BankTransactionsExpanded]]
* [[Xero Accounting Endpoint: InvoicesExpanded]]
* [[Xero Accounting Endpoint: Contacts|Contacts]]
* [[Xero Accounting Endpoint: InvoicesExpandedTable]]
* [[Xero Accounting Endpoint: ContactsExpanded|ContactsExpanded]]
* [[Xero Accounting Endpoint: ContactsExpandedTable|ContactsExpandedTable]]
* [[Xero Accounting Endpoint: CreditNotes|CreditNotes]]
* [[Xero Accounting Endpoint: CreditNotesExpanded|CreditNotesExpanded]]
* [[Xero Accounting Endpoint: Invoices|Invoices]]
* [[Xero Accounting Endpoint: InvoicesExpanded|InvoicesExpanded]]
* [[Xero Accounting Endpoint: InvoicesExpandedTable|InvoicesExpandedTable]]
* [[Xero Accounting Endpoint: ManualJournals|ManualJournals]]
* [[Xero Accounting Endpoint: ManualJournalsExpanded|ManualJournalsExpanded]]
* [[Xero Accounting Endpoint: Payments|Payments]]
* [[Xero Accounting Endpoint: PaymentsTable|PaymentsTable]]
* [[Xero Accounting Endpoint: PurchaseOrders|PurchaseOrders]]
* [[Xero Accounting Endpoint: Quotes|Quotes]]


The plan is to have all endpoints support polling in some form or another but prioritising the ones used most.
The plan is to have all endpoints support polling in some form or another but prioritising the ones used most.