GetAccountTypes
Filter inputs
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 |
---|---|---|---|
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
//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);
}
Blog Posts
Related pages
Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved