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

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]Specific ids to search for. BrickId is the internal id of a deal.false2.11
CreatedDateFromDateTime?Filter by a range of dates when the deal was created. This defines the first date of the search range.false2.11
CreatedDateToDateTime?Filter by a range of dates when the deal was created. This defines the first date of the search range.false2.11
 Asset1Guid?Filter by Asset1 on the dealfalse2.11
 Asset2Guid?Filter by Asset2 on the dealfalse2.11
ExecutionInterfacesstring[]Filter by the execution interfaces on the deals.
Possible values: MFEX, NFM, Manual, Internal, ExternalFund, Fax
false2.11
BuyPartyAccountsGuid[]Filter by the internal id of the Account on the dealfalse2.11
SellPartyAccountsGuid[]Filter by the internal id of the Account on the dealfalse2.11
DealNosstring[]Filter by the deal numberfalse2.11
BuyOrdersGuid[]Filter by the internal id of the buy orders connected to the dealfalse2.11
SellOrdersGuid[]Filter by the internal id of the sell orders connected to the dealfalse2.11
BuyPartyNotesstring[]Filter by the buy party note number of connected to the dealfalse2.11
SellPartyNotesstring[]Filter by the sell party note number of connected to the dealfalse2.11
IsTRSReportingbool?Filter by whether the deal should be included in the TRS-reporting or not.false2.11
TradeTimeFromDateTime?Filter by a range of timestamps of when the deal was executed. This defines the first date of the search range.false2.11
TradeTimeToDateTime?Filter by a range of timestamps of when the deal was executed. This defines the last date of the search range.false2.11
TradeDateFromDateTime?Filter by a range of dates of when the deal was executed. This defines the first date of the search range.false2.11
TradeDateToDateTime?Filter by a range of dates of when the deal was executed. This defines the last date of the search range.false2.11
SettlementDateFromDateTime?Filter by a range of dates of when the deal was settled. This defines the first date of the search range.false2.11
SettlementDateToDateTime?Filter by a range of dates of when the deal was settled. This defines the last date of the search range.false2.11

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the account type2.11
CreatedDateDateTimeThe time when the deal was created2.11
AmountAsset1decimalThe amount of the first leg of the deal2.11
AmountAsset2decimalThe amount of the second leg of the deal2.11
Asset1GuidThe asset of the first leg of the deal2.11
Asset2GuidThe asset of the second leg of the deal2.11
PricedoubleThe price of the deal2.11
ExecutionInterfacestringThe execution interface2.11
BuyPartyAccountGuidThe internal id of the buy party account2.11
SellPartyAccountGuidThe internal id of the sell party account2.11
DealNostringThe deal number of the deal2.11
BuyOrderGuidThe buy order of the deal2.11
SellOrderGuidThe sell order of the deal2.11
BuyPartyNotestringThe note number of the buy party note connected to the deal2.11
SellPartyNotestringThe note number of the sell party note connected to the deal2.11
IsTRSReportingboolTells whether the deal should be included in the TRS-reporting or not2.11
TradeTimeDateTimeThe timestamp of the of the trade connected to the deal2.11
TradeDateDateTimeThe trade date of the deal2.11
SettlementDateDateTimeThe settlement date of the deal2.11

Code examples

C# - Get all deals in a BFS instance and print out the id and the deal number
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 deals = client.GetDeals(new BFSServiceReference.GetDealsRequest()
{
    Credentials = credentials,
 
    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
 
    Args = new GetDealsArgs()
    {   
 
    },
 
    Fields = new BFSServiceReference.GetDealsFields()
    {
        BrickId = true,
        DealNo = true
    },
 
});
 
foreach (var c in deals.Result)
{
    Console.WriteLine(c.BrickId + ";" c.DealNo );
 
}           

 

Blog Posts

  • No labels