Inputs (Array[]) inherits fromĀ EntityBase
Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
Key | string | The type keys of the POA to be created Full, Trade, View, or Inactive | True | 2.02.20160603 |
AccountId | Guid | The BrickId of the Account for which the POA should be created | True | 2.02.20160603 |
POACustomerNo | string | The customer number of who should receive the POA | True | 2.02.20160603 |
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. | False | 2.20 |
Comment | string | A comment to add some information. | False | 2.24 |
Response rows
Name | Type | Description | Available from version |
---|---|---|---|
BrickId | Guid | The BrickId (unique id) of the created POA |
Code examples
...
...
C# - CreatePOA
Code Block | |||
---|---|---|---|
| |||
//Create Power of Attorney 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 response = client.CreatePOAs(new BFSServiceReference.CreatePOARequest() { Credentials = credentials, identify = bfsidentifier, //Identifier is a unique token for your instance of BFS Entities = new[] { new POA() { AccountId = new Guid("987a7c34-bbfd-4a78-bfc7-fe9b7d738e86"), Key = "View", POACustomerNo = "10000180" }, } }); foreach (var c in response.Entities) { Console.WriteLine(c.BrickId + ", " + c.POACustomerNo); } |
Blog Posts | ||||||
---|---|---|---|---|---|---|
|