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

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]   
ExecutionInterfaceIdGuid[]   
PhysicalDeliveryIndicatorbool   
FundInstructionNosstring[]   
StatusKeysstring[]   
ExternalFundBatchOrdersstring[]   
InstrumentsGuid[]   
RequestedNAVCurrencysGuid[]   
RequestedSettlementCurrencysGuid[]   

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuid  
ExecutionInterfaceIdGuid  
PhysicalDeliveryIndicatorbool  
FundInstructionNostring  
StatusKeystring  
ExternalFundBatchOrderGuid  
InstrumentGuid  
InstructionTypeKeystring  
RequestedNAVCurrencyGuid  
RequestedSettlementCurrencyGuid  
CashAmountdecimal  

Code examples

C# - Get all account types from a BFS instance
//Use the GetFundInstructions 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 instructions = client.GetFundInstructions(new BFSServiceReference.GetFundInstructionRequest()
{
    Credentials = credentials,

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

    Args = new BFSServiceReference.GetFundInstructionArgs()
    {
        BrickIds = new []
        {
			new Guid("ea3f658e-28f7-46b9-a45e-99b0f2e1a1ff"), 
        }
    },
    Fields = new BFSServiceReference.GetFundInstructionFields()
    {
        BrickId = true,        
        ExecutionInterfaceId = true,
        PhysicalDeliveryIndicator = true,
        FundInstructionNo = true,
        StatusKey = true,
        ExternalFundBatchOrder = true,
        Instrument = true,
        InstructionTypeKey = true,
        RequestedNAVCurrency = true,
        RequestedSettlementCurrency = true,
        CashAmount = true
    },
});

foreach (var c in instructions.Result)
{
    Console.WriteLine(c.BrickId + ", " 
        + c.ExecutionInterfaceId + ", "
        + c.PhysicalDeliveryIndicator + ", "
        + c.FundInstructionNo + ", "
        + c.StatusKey + ", "
        + c.ExternalFundBatchOrder + ", "
        + c.Instrument + ", "
        + c.InstructionTypeKey + ", " 
        + c.RequestedNAVCurrency + ", "
        + c.RequestedSettlementCurrency + ", " 
        + c.CashAmount);
}

 

Blog Posts

  • No labels