Models
Jump to navigation
Jump to search
Models are used as the security layer protecting your data and tying all OdataLink functionality together.
Each model has a unique Model Code which forms part of the OData Feed URLs.
Models are used to control:
- which users can access the model;
- to which data files users will have access;
- to which endpoints users will have access;
- secure which IP Addresses are valid to access this data;
We recommend you create a new model each time these requirements differ.
Each different type of data file requires a different type of model:
- MYOB Models
- Xero Accounting Models
- Xero Assets Models
- Xero Files Models
- Xero Payroll (Australia) Models
- Xero Payroll (New Zealand) Models
- Xero Payroll (UK) Models
- Xero Projects Models
- Xero Practice Manager Models
Examples
You could create different models for Accounts Receivables, Accounts Payables or Payroll staff. Doing so would ensure that sales staff cannot see sensitive payroll information.