Two minor notes:
Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
BrickId | Guid | Ids of SuperTransactions to be corrected | Yes | 2,14 |
Name | Type | Description | Available from version |
---|---|---|---|
Entities | Array | Entites containing the BrickId (unique id) of the SuperTransactions |
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); } |