Versions Compared

Key

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

Inputs (Array[] to update)

NameTypeDescriptionMandatoryAvailable from versionComment
BrickIdGuid

Bricknode ID of the transfer receiver 

 True 2.13
NamestringName of this transfer receiver


CommentstringA comment or description


BatchOrdersboolTrue if orders on this account should be batch processed  


TransferReceiverExtraInfoComplexDetermines the account type. Also contains a type specific payload (spec in: CreateTransferReceivers). One of the following:
  • TransferReceiverExtraInfoAutoGiro
  • TransferReceiverExtraInfoBankGiro
  • TransferReceiverExtraInfoDirectBankDomestic
  • TransferReceiverExtraInfoDirectBankForeign
  • TransferReceiverExtraInfoSecurities
  • TransferReceiverExtraInfoSecuritiesAccount
  • TransferReceiverExtraInfoPlusGiro


TransferReceiverExtraInfoAutoGiro - CounterPartyClearingNoMax five digits (a hyphen is not allowed)

Outputs

NameTypeDescriptionAvailable from version
EntitiesArrayAll TransferReceivers in the request is returned. And array of Errors per TransferReceiver

Code examples

Code Block
languagec#
themeRDark
titleC# - Update an AutoGiro TransferReceivers
linenumberstrue
collapsetrue
var request = new bfsapi.UpdateTransferReceiversRequest()
{
	Credentials = new bfsapi.Credentials
    {
    	UserName = "APIUser",
    	Password = "thesecretpassword"
    },
    identify = "theIdentity",
};

request.Fields = new bfsapi.UpdateTransferReceiverFields
{
	Name = true,
	Comment = true,
	BatchOrders = true,
	CounterPartyClearingNo = true,
	CounterPartyAccountNo = true
};

request.Entities = new bfsapi.UpdateTransferReceiver[]
{
	new bfsapi.UpdateTransferReceiver
	{
		BrickId = Guid.Parse("fc4d5141-35c4-42fb-bb9c-4e52a22a2f12"),
		Name = "The AG account",
		Comment = "A very important comment",
		BatchOrders = false,
		TransferReceiverExtraInfo = new TransferReceiverExtraInfoAutoGiro()
		{
			BankName = "SEB",
			CounterPartyClearingNo = "1234",
			CounterPartyAccountNo = "1234"
		}
	}
};

var response= bfsapiClient.UpdateTransferReceivers(request);

...