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
Version 1
Next »
Name | Type | Description | Mandatory | Available from version |
---|
BrickIds | Guid[] | | | 2.12 |
Persons | Guid[] | DecisionMakers filtered on Persons | | 2.12 |
Orders | Guid[] | DecisionMakers filtered on Orders | | 2.12 |
Comments | string[] | DecisionMakers filtered on Comments | | 2.12 |
Response rows (Array) inherits from EntityBase
Name | Type | Description | Available from version |
---|
BrickId | Guid | The BrickId (unique id) of the account type | 2.12 |
Person | Guid | Id of the Person that is DecisionMaker | 2.12 |
Order | Guid | Id of the Order associated with the DecisionMaker | 2.12 |
Code examples
public static void GetDecisionMakers()
{
var binding = new BasicHttpBinding();
binding.MaxReceivedMessageSize = Int32.MaxValue;
var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
var req = new GetDecisionMakerRequest();
req.Credentials = new bfsapi.Credentials
{
UserName = "user",
Password = "password"
};
req.identify = "identify";
req.Args = new GetDecisionMakerArgs
{
Orders = new[] {new Guid("5r5fb137-a0b5-4fd1-8a36-46594673bec3") }
};
req.Fields = new GetDecisionMakerFields
{
BrickId = true,
Person = true
};
var resp = target.GetDecisionMakers(req);
}