public static void DeleteReservation()
{
var binding = new BasicHttpBinding();
binding.MaxReceivedMessageSize = Int32.MaxValue;
var config = GetConfig("2.27");
var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
var req = new DeleteReservationRequest();
req.Credentials = new bfsapi.Credentials
{
UserName = "username",
Password = "password"
};
req.identify = "identify";
var orderRef = Guid.NewGuid();
req.BrickIds = new[] {Guid.NewGuid()};
var resp = target.DeleteReservations(req);
}