Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId of the order2.02.20160422
CreatedDateDateTimeThe timestamp of when the order was created2.02.20160422
SettlementDateDateTimeThe date of when the order was settled2.02.20160422
CashAmountdecimalThe amount of the order2.02.20160422
StatestringThe current state of the order as described by the workflow2.02.20160422
CurrencyCodestringThe ISO-code of the currency in the order, for example "EUR"2.02.20160422
OrderNostringThe order number of the deposit order2.02.20160422
ExternalReferencestringThe external reference that was set at the creation of the order2.02.20160422
AccountGuidThe BrickId of the associated accout for the order2.02.20160422
TransferOrderTypestringThe name of the order type2.02.20160422
BatchOrderNostringThe order number of the associated batch order if the withdrawal transfer order is associated to one2.02.20160429

Code examples

Code Block
languagec#
themeRDark
titleC# - GetWithdrawalTransferOrders
linenumberstrue
collapsetrue
 //Use the GetWithdrawalTransferOrders 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 orders = client.GetWithdrawalTransferOrders(new BFSServiceReference.GetWithdrawalTransferOrdersRequest()
{
    Credentials = credentials,

    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS 

    Args = new GetWithdrawalTransferOrdersArgs()
    {
        CreatedDateFrom = DateTime.Parse("2016-04-20"),
        CreatedDateTo = DateTime.Parse("2016-04-23"),
    },

    Fields = new BFSServiceReference.GetWithdrawalTransferOrdersFields()
    {
        BrickId = true,
        CreatedDate = true,
        SettlementDate = true,
        CashAmount = true,
        State = true,
        CurrencyCode = true,
        OrderNo = true,
        ExternalReference = true,
        Account = true,
        TransferOrderType = true,
		BatchOrderNo = true,
    },

});

foreach (var c in orders.Result)
{
    Console.WriteLine(c.BrickId + ";" + c.CreatedDate + ";" + c.SettlementDate + ";" + c.CashAmount + ";" + c.State + ";" + c.CurrencyCode + ";" + c.OrderNo + ";" + c.ExternalReference + ";" + c.Account + ";" + c.TransferOrderType + ";" + c.BatchOrderNo);
}

 

Blog Posts
sortcreation
contenttitles
labelsGetWithdrawalTransferOrders