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 16 Current »

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]Filter by array of BrickIds.  
Codesstring[]Filter by array of currency codes. According to ISO-standard  

Response rows

NameTypeDescriptionAvailable from version
CodeStringiso, the currenycode 
PriceDoubleThe price is based on EUR, for example: EUR/SEK, EUR/USD 
PriceDateDateTime?Filter by date on the current rate. 



XML request example
<s:Envelope xmlns:s="">
  <s:Body xmlns:xsi="" xmlns:xsd="">
    <GetAccounts xmlns="">

Code examples

C# - Get EUR/SEK and EUR/USD quotes
//Use the GetCurrencies to retreive EUR/SEK and EUR/USD quotes
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 currency = client.GetCurrencies(new BFSServiceReference.GetCurrencyRequest()
    Credentials = credentials,

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

    Args = new GetCurrencyArgs()
            Codes = new []

    Fields = new BFSServiceReference.GetCurrencyFields()
        BrickId = true,
        Code = true,
        Price = true,
        PriceDate = true,
        StatusKey = true,


foreach (var c in currency.Result)
    Console.WriteLine(c.BrickId + ";" + c.Code + ";" + c.Price + ";" + c.PriceDate + ";" + c.StatusKey);


Blog Posts

  • No labels