GetDecisionMakers

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]

  2.12
PersonsGuid[] DecisionMakers filtered on the BrickId of a Legal Entity (GetPersons)
  2.12
OrdersGuid[] DecisionMakers filtered on the BrickId of Orders
  2.12
Commentsstring[] DecisionMakers filtered on Comments
  2.12

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the DecisionMaker 2.12
PersonGuidId of the Person that is DecisionMaker  2.12
OrderGuidId of the Order associated with the DecisionMaker 2.12

Code examples

C# - Get DecisionMakers from a BFS instance
 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);
            
        }