Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]  

  2.12
PersonsGuid[] DecisionMakers filtered on Persons 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

...

Code Block
languagec#
themeRDark
titleC# - Get DecisionMakers from a BFS instance
linenumberstrue
collapsetrue
 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);
            
        }

...