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);
}