Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Filter inputs

NameTypeDescription
BrickIdGuid[] 
CustomerNosstring[] 
UserNamestring 
PersonalNumbersstring[] 
ResellerNostring 
ExternalReferencesstring[] 

Response rows (Array) inherits from EntityBase

NameTypeDescription
BrickId  
FirstNamestring 
LastNamestring 
MiddleNamesstring 
UserNamestring 
Emailstring 
PersonalNumberstring 
ResellerNostring 
ResellerIdGuid 
IsApprovedbool 
AddressCitystring 
AddressStreetstring 
AddressZipstring 
BICstring 
Commentstring 
ExternalReferencestring 
PassportNumberstring 
PhoneHomestring 
PhoneWorkstring 
IsTaxPayerbool 
IsInsuranceCompanybool 
IsInsuranceProductSupplierbool 
IsApprovedForStructsbool 
IsVerifiedbool 
GenderstringValue should be Male, Female, Company
TitlestringValue should be Miss, Mr, Ms, Dr, Mrs
CountrystringAccording to ISO-standard here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
TaxCountrystringAccording to ISO-standard here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
CustomerNostring 

Code examples

C# - Get all legal entities from a BFS instance
//Use the GetPersons method to get all LegalEntities in the BFS instance and write
//the BrickId's and names 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 persons = client.GetPersons(new BFSServiceReference.GetPersonRequest()
{
    Credentials = credentials,
    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
   
    Fields = new BFSServiceReference.GetPersonFields()
    {
        BrickId = true,
        UserName = true,
        FirstName = true,
        LastName = true,
    },
});
foreach (var c in persons.Result)
{
    Console.WriteLine(c.BrickId + "," + c.FirstName + "," + c.LastName);
}

 

 

  • No labels