Versions Compared

Key

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

...

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId of the TransferReceiver
PersonGuidThe Person owning the TransferReceiver
TransferReceiverTypeKeyStringThe TransferReceiverType key
NameStringThe name of the external account
CommentStringThe external account comment
AccountNoStringThe account number of the external account
CounterPartyClearingNoStringThe counterparty clearing number
CounterPartyAccountNoStringThe counterparty account number
PayerNumberStringThe PayerNumber of the external account
IBANStringThe international bank account number
BICStringThe business identifier code
BatchordersboolIf orders for the TransferReceiver are allowed to be batched
BankNameStringThe name of the bank entered for the TransferReceiver2.02.20160708
CounterpartyBrickIdGuidIf the transfer receiver type is one that involves transferring securities instead of cash there will be a reference to a LegalEntity who is acting as counterparty. The full information about the counterparty can be fetched using GetPersons with this value as the input for BrickId.2.02.20160722
CounterpartyNameStringIf the transfer receiver type is one that involves transferring securities instead of cash there will be a reference to a LegalEntity who is acting as counterparty and this is the company name of that Legal Entity.2.02.20160722
StateStringThe state of the TransferReceiver (Admission_Cancelled, Admission_Created etc.)
BankGiroNumberstringA TransferReceiver of the type TransferReceiverTypeBankGiro, will have the property BankGiroNumber.2.37
StatusstringIf the TransferReceiver has been Removed or Closed this property will be populated.2.38


Code examples

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

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

    Args = new BFSServiceReference.GetTransferReceiversArgs()
    {
        TransferReceiverTypeKeys = new []
        {
			"DomesticBank"
        }

    },

    Fields = new BFSServiceReference.GetTransferReceiverFields()
    {
        BrickId = true,
        AccountNo = true,
        BIC = true,
        BankName = true,
        IBAN = true
    },
});

foreach (var c in persons.Result)
{
    Console.WriteLine(c.BrickId + "," + c.AccountNo + "," + c.BIC + "," + c.BankName + "," + c.IBAN);
}

...