|
ICustomerGetAllCustomers Method
|
Get all customers.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax List<Customer> GetAllCustomers(
int options,
int startFromIndex,
int count,
CustomerCriteria criteria = null
)
Function GetAllCustomers (
options As Integer,
startFromIndex As Integer,
count As Integer,
Optional criteria As CustomerCriteria = Nothing
) As List(Of Customer)
Parameters
- options Int32
- Options, which act as additional criteria in the query, see AccountGetOptions enum.
- startFromIndex Int32
- Starting index of result set, first is 0.
- count Int32
- The amount of accounts to receive, maximum 100 at a time.
- criteria CustomerCriteria (Optional)
- An optional criteria to filter customers returned. Please, use same filters for each paged call.
Return Value
ListCustomerA list of Customer objects.
Exceptions Remarks
There can be thousands of accounts, depending on organization. When you need to show only the name of the account then use IAccount.GetAllAccounts instead.
This method is meant to be used in places where details of an account is needed.
See Also