Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
BrickIds | Guid | This is the unique id of the account that should be updated | Yes | |
IsApproved | Boolean | Change whether the person is approved or not | ||
FirstName | string | New first name of person | ||
MiddleNames | string | New middle names of person | 2.10 | |
LastName | string | New last name of person | 2.10 | |
IsFundEntity | bool | If the Legal Entity is categorized as an investment fund. An investment fund can have a relationship to a fund company that manages the fund. | ||
IsFundCompany | bool | If the Legal Entity is categorized as a fund company. A fund company can have a relationship to fund entities which it manages. | ||
IsIssuer | bool | If the Legal Entity is categorized as issuer. | ||
SectorNACE | string | Only used for Legal Entities that has IsIssuer set to true. | ||
GroupCode | string | Only used for Legal Entities that has IsIssuer set to true. | ||
ExternalRating | string | Only used for Legal Entities that has IsIssuer set to true. | ||
RatingAgency | string | Only used for Legal Entities that has IsIssuer set to true. | ||
InstrumentTypesString | int[] | Only used for Legal Entities that has IsIssuer set to true. This is the instrument types the issuer can issue. For information about which number to use: InstrumentTypes. | ||
AddressStreet | string | The street of the persons address | 2.10 | |
AddressCity | string | The city in the persons address | 2.10 | |
AddressZip | string | The zip code in the persons address | 2.10 | |
AddressCO | string | The c/o of the persons address | 2.10 | |
CustomFields | object[] | CustomFields is an array of CustomField objects. Each CustomField consists of two strings, FieldName and Value. There are no datatypes associated with these properties, they are just a way for api-users to add custimized data to the object. |
Name | Type | Description | Available from version |
---|---|---|---|
Entities | Array | All persons in the request is returned along with each persons BrickId, IsApproved, FirstName, IsFundEntity, IsFundCompany and array of Errors per person |
//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); } |