Click or drag to resize

IAtomiaBillingApiSearchSubAccounts Method

Searches in sub accounts (only one level).

Namespace:  Atomia.Billing.Core.Sdk
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
Account[] SearchSubAccounts(
	out int total,
	int pageIndex,
	int pageSize,
	string searchPattern,
	string[] allowedTypes,
	string[] allowedStatuses,
	string[] sortColumns,
	string sortingDirection,
	Guid accountId,
	bool includeAccount
)

Parameters

total
Type: SystemInt32
The total.
pageIndex
Type: SystemInt32
Index of the page.
pageSize
Type: SystemInt32
Size of the page.
searchPattern
Type: SystemString
The search pattern. Method does searching in: Name, FirstName, LastName, CompanyName
allowedTypes
Type: SystemString
The allowed types. Can be Reseller, Customer
allowedStatuses
Type: SystemString
The allowed statuses.
sortColumns
Type: SystemString
The sort column. Can be: Id and CompanyName
sortingDirection
Type: SystemString
The sorting direction, can be asc or desc.
accountId
Type: SystemGuid
The account id for which we want subaccounts.
includeAccount
Type: SystemBoolean
if set to true [include account].

Return Value

Type: Account
Filtered accounts.
See Also