Versions Compared

Key

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

...

Name

Type

Description

Available from version

BrickId

Guid

The BrickId of the TransferReceiver


Person

Guid

The Person owning the TransferReceiver


TransferReceiverTypeKey

String

The TransferReceiverType key


Name

String

The name of the external account


Comment

String

The external account comment


AccountNo

String

The account number of the external account


CounterPartyClearingNo

String

The counterparty clearing number


CounterPartyAccountNo

String

The counterparty account number


PayerNumber

String

The PayerNumber of the external account


IBAN

String

The international bank account number


BIC

String

The business identifier code


Batchorders

bool

If orders for the TransferReceiver are allowed to be batched


BankName

String

The name of the bank entered for the TransferReceiver

2.02.20160708

CounterpartyBrickId

Guid

If 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

CounterpartyName

String

If 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

State

String

The state of the TransferReceiver (Admission_Cancelled, Admission_Created etc.)


BankGiroNumber

string

A TransferReceiver of the type TransferReceiverTypeBankGiro, will have the property BankGiroNumber.

2.37

Status

string

If the TransferReceiver has been Removed or Closed this property will be populatedThe internal status of the TransferReceiver. It can be one of the following, Open, Removed, or Closed.

2.38

KID

string

A TransferReceiver of the type TransferReceiverTypeAvtaleGiro, will have the property KID.


Code examples

Raw xml

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <GetTransferReceivers xmlns="http://tempuri.org/">
            <req>
                <Credentials>
                    <UserName>{{UserName}}</UserName>
                    <Password>{{Password}}</Password>
                </Credentials>
                <identify>{{Identify}}</identify>
                <Args>
                    <BrickIds>
                        <guid>026a6194-8bb2-464b-9b15-19d9f89ee2db</guid>
                    </BrickIds>
                </Args>
                <Fields>
                    <BrickId >true</BrickId>
                    <KID>true</KID>
                    <State>true</State>
                </Fields>
            </req>
        </GetTransferReceivers>
    </soap:Body>
</soap:Envelope>

C# - GetTransferReceiver
Code Block
languagec#
//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);
}

...