listAccounts

abstract fun listAccounts(sessionToken: String, parentAccountUuid: String? = null, limit: Int? = null, offset: Int? = null, startDate: String? = null, endDate: String? = null, type: AccountTypeModel? = null, status: AccountStatusModel? = null, stage: AccountStageModel? = null, clientCallback: ListAccountsSdkCallback)

Headless call to get a list of accounts.

Parameters

sessionToken

Session token

parentAccountUuid

Parent account unique identifier

limit

The number of items per page

offset

Start after offset amount of records

startDate

Filter by start date

endDate

Filter by end date

type

Filter by account type AccountTypeModel

status

Filter by account status AccountStatusModel

stage

Filter by account stage AccountStageModel

clientCallback

Client callback for success and error responses from the Alviere Accounts SDK

See also


abstract suspend fun listAccounts(sessionToken: String, parentAccountUuid: String, limit: Int? = null, offset: Int? = null, startDate: String? = null, endDate: String? = null, type: AccountTypeModel? = null, status: AccountStatusModel? = null, stage: AccountStageModel? = null): Response<List<AccountDetailsModel>>

Headless call to get a list of accounts.

Return

Response<List<AccountDetailsModel>>

Parameters

sessionToken

Session token

parentAccountUuid

Parent account unique identifier

limit

The number of items per page

offset

Start after offset amount of records

startDate

Filter by start date

endDate

Filter by end date

type

Filter by account type AccountTypeModel

status

Filter by account status AccountStatusModel

stage

Filter by account stage AccountStageModel

See also