Versions Compared

Key

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

Fund Instructions are structured according to ISO 20022

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]
 
The BFS-id of the fund instruction 
 ExecutionInterfaceSettings
2.02.20160429
ExecutionInterfaceIdGuid[]
 
The BFS-id of the associated Execution Interface 
 
2.02.20160429
PhysicalDeliveryIndicatorbool
 
Physical delivery of assets is not available for most execution interfaces and will be false for Execution Interface NFM / Allfunds at all times 
 
2.02.20160429
FundInstructionNosstring[]
 
The instruction number of the fund instruction 
 
2.02.20160429
StatusKeysstring[]

The status of the instruction: NEW, READY, STOP, SENT, SENTERROR, ACK, NACK, EXECUTED, SETTLED, CANCELED, ERROR, FINISHED

 2.02.20160429
  ExternalFundBatchOrdersstring[]   Instruments
ExternalFundBatchOrderIdsGuid[]The BFS-id of external fund batch orders to use in the filter 2.02.20160429
InstrumentIdsGuid[]The BFS-id of the instruments to use in the filter 2.02.20160429
RequestedNAVCurrencyIdsGuid[]
 
The BFS-id of the currencies to use in the filter 
 RequestedNAVCurrencys
2.02.20160429
RequestedSettlementCurrencyIdsGuid[]The BFS-id of the currencies to use in the filter 2.02.20160429
CreatedDateFromDateTimeWhen used, both from date and to date should be provided in the request  2.02.20160506
CreatedDateToDateTime 
RequestedSettlementCurrencysGuid[]
2.02.20160506
     

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuid
  ExecutionInterfaceSettingGuid   
The BFS-id of the fund instruction2.02.20160429
ExecutionInterfaceIdGuidThe BFS-id of the Execution Interface2.02.20160429
PhysicalDeliveryIndicatorbool
  
Physical delivery of assets is not available for most execution interfaces and will be false for Execution Interface NFM / Allfunds at all times2.02.20160429
FundInstructionNostring
 InstrumentGuid  
The instruction number of the fund instruction2.02.20160429
StatusKeystring
  ExternalFundBatchOrderGuid  RequestedNAVCurrencyGuid  
The status of the instruction: NEW, READY, STOP, SENT, SENTERROR, ACK, NACK, EXECUTED, SETTLED, CANCELED, ERROR, FINISHED2.02.20160429
ExternalFundBatchOrderIdGuidThe BFS-id of the associated external fund batch order2.02.20160429
InstrumentIdGuidThe BFS-id of the instrument2.02.20160429
InstructionTypeKeystring
   
The type of instruction: SUBSCRIPTION, REDEMPTION2.02.20160429
RequestedNAVCurrencyIdGuidThe BFS-id of the currency for the NAV2.02.20160429
RequestedSettlementCurrencyGuid
  
The BFS-id of the currency for the Settlement2.02.20160429
CashAmountdecimal
 
The cash amount of the fund instruction2.02.20160429

Code examples

Code Block
languagec#
themeRDark
titleC# - Get all account types from a BFS instanceGetFundInstructions
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"), 
     UserName = "user",
     }
    },
    Fields = new BFSServiceReference.GetFundInstructionFields()
    {
        PasswordBrickId = "password"true,        
    };    ExecutionInterfaceId = true,
        req.identifyPhysicalDeliveryIndicator = "Identifystring"; true,
        FundInstructionNo = true,
     req.Args   StatusKey = newtrue,
bfsapi.GetFundInstructionArgs        ExternalFundBatchOrderId = true,
  {      InstrumentId = true,
        FundInstructionNosInstructionTypeKey = new[] { "100119", "100052" }true,
        RequestedNAVCurrencyId = true,
      };  RequestedSettlementCurrencyId = true,
        req.FieldsCashAmount = new bfsapi.GetFundInstructionFields()true
    },
});

foreach (var c in instructions.Result)
{
  {  Console.WriteLine(c.BrickId + ", " 
        + c.ExecutionInterfaceId CashAmount+ =true", "
        + c.PhysicalDeliveryIndicator + ", "
  ExternalFundBatchOrder =true,     + c.FundInstructionNo + ", "
       InstructionTypeKey = true,  + c.StatusKey + ", "
        + c.ExternalFundBatchOrderId + ", "
    FundInstructionNo = true  + c.InstrumentId + ", "
      };  + c.InstructionTypeKey + ", " 
      var resp =+ target.GetFundInstructions(req);c.RequestedNAVCurrencyId + ", "
        + c.RequestedSettlementCurrencyId + ", " 
        + c.CashAmount);
}

 

Blog Posts
sortcreation
contenttitles
labelsgetaccounttypesgetfundinstructions