Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
BrickId | Guid | BFS-id of the fund batch order | Not if OrderNo is used | 2.02.20160429 |
SettledAmount | decimal | The amount of cash in the fund batch order that received settlement | Yes | 2.02.20160429 |
SettlementDate | DateTime | The settlement date to be used for the settlement transactions that are to be created from this method | Yes | 2.02.20160429 |
ValueDate | DateTime | The value date to be used for the value transactions that are to be created from this method | Yes | 2.02.20160429 |
OrderNo | string | Ordernumber of the batchorder | Not if BrickId is sent | 2.02.20160429 |
Name | Type | Description |
---|---|---|
Message | string | "OK" or errormessage |
//Use the ExternalFundBatchOrder_Settle method var client = new BFSServiceReference.bfsapiSoapClient(); var credentials = new BFSServiceReference.Credentials() { UserName = bfsusername, //Username of administrative user in your instance of BFS Password = bfspassword, //Password of the administrative user in your instance of BFS }; var target = client.ExternalFundBatchOrder_Settle(new BFSServiceReference.ExternalFundBatchOrderSettleRequest() { Credentials = credentials, identify = bfsidentifier, //Identifier is a unique token for your instance of BFS WorkflowTriggerDataEntity = new ExternalFundBatchOrderSettle() { BrickId = new Guid("488c39eb-07b8-4998-8d24-a088b9905484"), SettlementDate = TimeZoneInfo.ConvertTimeToUtc(DateTime.Parse("2016-04-25")), ValueDate = TimeZoneInfo.ConvertTimeToUtc(DateTime.Parse("2016-04-25")), SettledAmount = 100M, }, }); Console.WriteLine(target.Message); |