Models are used as the security layer protecting your data and tying all ODataLink functionality together.
Models are used to control:
- to which data files users will have access;
- to which endpoints users will have access;
- and secure which IP Addressess are valid to access this data;
We recommend you create a new model each time these requirements differ.
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.
Fields
Models have the following fields that can be configure.
- Model Name
- Display name only.
- Model Code
- The secret code which will form part of the OData feed url. Changing it will break any OData feed url in use. This may be useful if concerned that an OData feed url has been compromised or sent to the wrong individual.
- Enabled
- Controls whether all OData feed urls for this model are useable.