Skip to end of metadata
Go to start of metadata
No inputs are used.
Name | Type | Description | Available from version |
---|
BrickId | Guid | The BrickId of the legal entity | 2.02 |
OrganizationNo | string | The organization number of the house | 2.02 |
Name | string | The name of the house | 2.02 |
BIC | string | The BIC code of the house | 2.03.01 |
TaxCountry | string | According to ISO-standard here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 | 2.03.01 |
BaseCurrencyCode | string | The currency code of the house base currency | 2.03.01 |
LEI | string | The LEI of the House | 2.12 |
GIIN | string | GIIN (global intermediary identification number) of Person | 2.24 |
//Use the GetHouseInformation method to get the house information
// and write the BrickId, Organization number and the name 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 houseInfo = client.GetHouseInformation(new BFSServiceReference.GetHouseInformationRequest()
{
Credentials = credentials,
identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
Fields = new BFSServiceReference.GetHouseInformationFields()
{
BrickId = true,
OrganizationNo = true,
Name = true,
BIC = true,
TaxCountry = true,
BaseCurrencyCode = true
},
});
foreach (var c in houseInfo.Result)
{
Console.WriteLine(c.BrickId + "," + c.OrganizationNo + "," + c.Name + "," + c.BIC + "," + c.TaxCountry + "," + c.BaseCurrencyCode);
}