Reading data
Implementation of the latest Diamant webservice to access and modify data in your accounting software. Here is an explanation of reading data.
General parameters
Each reading endpoint has the following parameters to choose from in order to limit, sort or filter the result. At least the filter option is required to see results.
select
Limits the properties returned in the result.
select = Name,Phone,Address
expand
Indicates the related entities to be represented inline. The maximum depth is 2.
expand = Customer,OrderItems
filter
Restricts the set of items returned. The maximum number of expressions is 100.
filter = company eq 999
orderby
Specifies the order in which items are returned. The maximum number of expressions is 5.
orderby = LastName asc,HireDate desc
top
Limits the number of items returned from a collection.
top = 5
skip
Excludes the specified number of items of the queried collection from the result.
skip = 10
Example
GetAddresses
Retrieves address data.
Example
GetBanks
Retrieves bank data
Example
GetCustomers
Retrieves customer data
Example
GetVendors
Retrieves vendor data
Example
GetOpenItems
Retrieves open items data
Example
GetGenLedgerAccounts
Retrieves general ledger accounts
Example
Last updated
Was this helpful?