Customers
Get a filtered list of customers
All tables have a corresponding Query class. For example, the table DB_Main has a class DB_MainQuery. The DB_MainQuery class is the DTO used for query operations against the DB_Main table. By setting various properties of an instance of this class, a filtered, ordered set of results can be obtained.
Retrieve first 5 customers where the AccountNo starts with 'a'
Retrieve first 5 customers where the AccountNo starts with '1', but limit which fields are returned
Retrieve next 5 customers where the AccountNo starts with '1', and limit which fields are returned
Read a customer
In order to read a customer, the DebtorID must be provided. Note this is a full read of the debtor business logic - so it will include associated elements such as notes, documents, prices and so on.
Read a customer
The response returned from the above request will be a json document representing the full debtor DTO model from the business logic - see the meta data page for the DebtorGETRequest for more detail.