Previous Topic: Fetching AccountsNext Topic: Exception


API Details

The following table lists the input and output parameters of the getAccount() method:

Parameter

Description

Input Parameters

id

The unique identifier of the account that has to be fetched.

Output Parameters

account

The requested account.

The following table lists the input and output parameters of the getAllAccounts() method:

Parameter

Description

Input Parameters

None.

Output Parameters

account

An array of all the accounts present in the storage.

The following table lists the input and output parameters of the getAllAccounts() method when a namespace is passed as input:

Parameter

Description

Input Parameters

ns

The namespace of the requested accounts.

Output Parameters

account

Array of accounts belonging to the specified namespace (domain) and also accounts from other namespaces that contain the search string in their name.