Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Filter inputs inherits fromĀ GetPersons

...

NameTypeDescriptionAvailable from version
CustomerNostringThe customer number
CompanyNumberstringThe company number
FundCompanyIdGuidThe BFS-id of the fund company
FundNamestringThe name of the fund entity
StreetAddressstringThe address of the fund entity
PostalCodestringThe postal code of the fund entity
UserNamestringThe username of the fund entity
EmailstringThe e-mail address of the fund entity
CitystringThe city of the fund entity
CountrystringThe ISO code of the country https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
JurisdictionstringThe ISO code of the country for the legal jurisdiction of the fund entity https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
TaxCountrystringThe ISO code of the tax country for the fund entity
ParentCompanyGuidThe BrickId of a relating LegalEntity that is a parent company.2.30

Code examples

Code Block
languagec#
themeRDark
titleC# - GetFundEntity
linenumberstrue
collapsetrue
//Use the GetFundEntity method 
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 fundentity = client.GetFundEntity(new BFSServiceReference.GetFundEntityRequest()
{
    Credentials = credentials,

    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS

    Args = new BFSServiceReference.GetFundEntityArgs()
    {
        
    },
    Fields = new BFSServiceReference.GetFundEntityFields()
    {
        BrickId = true,
        CompanyNumber = true,
        FundName = true,
        FundCompanyId = true
    },
});

foreach (var c in fundentity.Result)
{
    Console.WriteLine(c.BrickId + ", "
        + c.CompanyNumber + ", "
        + c.FundName + ", "
        + c.FundCompanyId);
}

...