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 4 Next »

Inputs (Array[] to update)

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuid

Bricknode ID of the transfer receiver 

 True 2.12
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
  

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