Versions Compared

Key

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

...

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

...

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

...

Code Block
languagec#
themeRDark
titleC# - Get all account types from a BFS instance
linenumberstrue
collapsetrue
 public static void GetFundInstructions()
   //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
   var bindingPassword = new BasicHttpBinding();
            binding.MaxReceivedMessageSize = Int32.MaxValue;

bfspassword, //Password of the administrative user in your instance of BFS
};

var instructions = client.GetFundInstructions(new BFSServiceReference.GetFundInstructionRequest()
{
    Credentials = credentials,

   var targetidentify = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));

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

   var reqArgs = new bfsapiBFSServiceReference.GetFundInstructionRequestGetFundInstructionArgs();
    {
        req.CredentialsBrickIds = new []
bfsapi.Credentials        {
			new Guid("ea3f658e-28f7-46b9-a45e-99b0f2e1a1ff"), 
 {       }
    },
    UserNameFields = "user",
new BFSServiceReference.GetFundInstructionFields()
    {
        BrickId = true,     Password = "password" 
        ExecutionInterfaceId = true,
};        PhysicalDeliveryIndicator = true,
   req.identify = "Identifystring";   FundInstructionNo = true,
        req.ArgsStatusKey = newtrue,
bfsapi.GetFundInstructionArgs        ExternalFundBatchOrder = true,
  {      Instrument = true,
        FundInstructionNosInstructionTypeKey = true,
new[] { "100119", "100052" }    RequestedNAVCurrency = true,
      };  RequestedSettlementCurrency = true,
        req.FieldsCashAmount = newtrue
bfsapi.GetFundInstructionFields()    },
});

foreach (var c in instructions.Result)
{
 {   Console.WriteLine(c.BrickId + ", " 
        + CashAmount =truec.ExecutionInterfaceId + ", "
        + c.PhysicalDeliveryIndicator + ", "
   ExternalFundBatchOrder  =true,   + c.FundInstructionNo + ", "
        + InstructionTypeKeyc.StatusKey =+ true", "
        + c.ExternalFundBatchOrder + ", "
  FundInstructionNo = true    + c.Instrument + ", "
    };    + c.InstructionTypeKey + ", " 
      var resp =+ target.GetFundInstructions(req);c.RequestedNAVCurrency + ", "
        + c.RequestedSettlementCurrency + ", " 
        + c.CashAmount);
}

 

Blog Posts
sortcreation
contenttitles
labelsgetaccounttypes