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 6
Next »
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 |
Response rows
Name | Type | Description | Available from version |
---|
BrickId | Guid | The BrickId (unique id) of the created POA | |
Code examples
//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 stream
Create a blog post to share news and announcements with your team and company.