Versions Compared

Key

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

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]    2.12
PersonsGuid[] DecisionMakers filtered on Persons   2.12
OrdersGuid[] DecisionMakers filtered on 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 account type 2.12
PersonGuidId of the Person that is DecisionMaker  2.12
OrderGuidId of the Order associated with the DecisionMaker 2.12

Code examples

Code Block
languagec#
themeRDark
titleC# - Get all account types 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);
            
        }

  Blog Postssortcreationcontenttitleslabelsgetaccounttypes