GetAccountTypes

Filter inputs

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

Available from version

BrickIds

Guid[]

Filter by array of BrickIds, BrickId is the internal id of a Legal Entity

 

 

Keys

string[]

Filter by array of Account Type Keys

 

 

AccountNoSeriesKey

string

Filter by a single Account Number Series Key. This is the rule for account number generation

 

 

AccountTypeRuleType

Guid?

Filter by Account Type Rule Type. The Account Type Rules are defined in System Data within the GUI of BFS and determines what actions can be performed on a certain account type.

 

 

AccountTypeStatus

int?

Filter by Account Type Status. The Account Type Status determines what type of user the account is visible for.

1 = Open for all users

2 = Open (Admin), only admin users can create accounts

3 = Closed

5 = Open (Partner), only admin and advisor/partner users can create accounts

6 = Open (Filter), the account type is only visible in filter dropdowns

7 = Open (House), the account type can only be created on the house entity

 

 

AccountPositionLogic

string

Filter by Account Position Logic. Currently the only account position logic supported is Auto Merge which means that one position per financial instrument is maintained

 

 

InterestRateInstrumentKey

string



 

 

MustCover

bool?

Filter by Must Cover. If this value is true an account of the selected account type is not allowed to have a negative balance

 

 

IsSubjectToIncomeTax

bool?

If this value is True the account will be subject to tax withholding and tax reporting

 

 

IsInsuranceAccount

bool?

If this value is True the account will be categorized as an insurance account

 

 

ExternalHouse

string

ExternalHouse

 

 

CreatedDateFrom

DateTime

When used, both from date and to date should be provided in the request

 

2.02.20160506

CreatedDateTo

DateTime

 

 

2.02.20160506

ReconciliationTypes

Enum[]

This property distinguishes an account type between being classified as an internal account, an account that only exists within Bricknode Broker, or a custody account, an account that mirrors an external account at a custodian.

 

2.38

Response rows (Array) inherits from EntityBase

Name

Type

Description

Available from version

Name

Type

Description

Available from version

BrickId

Guid

The BrickId (unique id) of the account type

 

Key

string

The account type key of the account type

 

CreatedDate

DateTime

The date when the account was created

2.02.20160506

Label

string

The name of the account type as displayed to the account holder

 

AccountNoSeriesKey

string

This is the rule for account number generation

 

AccountTypeRuleType

Guid

The Account Type Rules are defined in System Data within the GUI of BFS and determines what actions can be performed on a certain account type.

 

AccountTypeStatus

int

The Account Type Status determines what type of user the account is visible for.

0 = Closed

1 = Open for all users

2 = Open (Admin), only admin users can view the account

3 = Open (Partner), only admin and advisor users can view the account

4 = Open (House), only the House of the BFS instance and the admin can view the account

 

AccountPositionLogic

string

Currently the only account position logic supported is Auto Merge which means that one position per financial instrument is maintained

 

InterestRateInstrumentKey

string

 

 

MustCover

bool

If this value is true an account of the selected account type is not allowed to have a negative balance

 

IsSubjectToIncomeTax

bool

If this value is True the account will be subject to tax withholding and tax reporting

 

IsInsuranceAccount

bool

If this value is True the account will be categorized as an insurance account

 

ExternalHouse

string

 

 

ReconciliationType

Enum

This property distinguishes an account type between being classified as an internal account, an account that only exists within Bricknode Broker, or a custody account, an account that mirrors an external account at a custodian.

2.38

Code examples

C# - Get all account types from a BFS instance
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 //Use the GetAccountTypes method to get all AccountTypes in the BFS instance and write //the information in the console var client = new BFSServiceReference.bfsapiSoapClient(); var credentials = new BFSServiceReference.Credentials() { UserName = bfsusername, //Username of administrative user in your instance of BFS Password = bfspassword, //Password of the administrative user in your instance of BFS }; var accounttypes = client.GetAccountTypes(new BFSServiceReference.GetAccountTypeRequest() { Credentials = credentials, identify = bfsidentifier, //Identifier is a unique token for your instance of BFS Fields = new BFSServiceReference.GetAccountTypeFields() { BrickId = true, Key = true, }, }); foreach (var c in accounttypes.Result) { Console.WriteLine(c.BrickId + "," + c.Key); }