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 5 Next »

Inputs (Array of Accounts to update)

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuidThis is the unique id of the account that should be updatedYes 
IsApprovedBooleanChange whether the person is approved or not  
FirstNamestringNew first name of person  
IsFundEntityboolIf the Legal Entity is categorized as an investment fund. An investment fund can have a relationship to a fund company that manages the fund.  
IsFundCompanyboolIf the Legal Entity is categorized as a fund company. A fund company can have a relationship to fund entities which it manages.  

Outputs

Name
Type
Description
Available from version
EntitiesArray

All persons in the request is returned along with each accounts BrickId, IsApproved, FirstName, IsFundEntity, IsFundCompany and array of Errors per person

 

Code examples

C# - Get all account types from a BFS instance
  //Update a person methodvar 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 response = client.UpdatePersons(new BFSServiceReference.UpdatePersonsRequest()
{
    Credentials = credentials,
    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
    Fields = new UpdatePersonFields()
    {
      IsApproved  = true,     
    },
    Entities = new []
    {
      new UpdateAccount()
      {
          BrickId = bnpersonid,
          IsApproved  = true,        
      },
    },
     
});
foreach (var c in response.Entities)
{
    Console.WriteLine(c.BrickId + "," + c.IsApproved + "," + response.Message);
}

 

Blog stream

Create a blog post to share news and announcements with your team and company.

  • No labels