Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Inputs (Array[] of CorrectionBusinessTransaction)

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuid Ids of SuperTransactions to be correctedYes 2,14

Outputs

NameTypeDescriptionAvailable from version
EntitiesArrayEntites containing the BrickId (unique id) of the SuperTransactions

Code examples

C# - Correct SuperTransaction
 public static void CorrectBusinessTransaction()
        {
            var binding = new BasicHttpBinding();
            binding.MaxReceivedMessageSize = Int32.MaxValue;

            var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
            var req = new bfsapi.CorrectBusinessTransactionRequest();
            req.Credentials = new bfsapi.Credentials
            {
                UserName = "username",
                Password = "password"
            };

            req.identify = "identity";
            req.Fields = new CorrectionBusinessTransactionFields();

            req.Entities=new CorrectionBusinessTransaction[]
            {
                new CorrectionBusinessTransaction
                {
                    BrickId = new Guid("e14ee5c1-cc78-4dad-bf0a-14800538a107")
                }, 
            };
            var resp= target.CorrectBusinessTransactions(req);
           

        }



  • No labels