Click or drag to resize

ICustomerGetAllCustomers Method

Get all customers.

Namespace: Severa.API
Assembly: 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
)

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

ListCustomer
A list of Customer objects.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
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