Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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

C# - Update an AutoGiro TransferReceivers
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);



  • No labels