Skip to content

IExchangeRatesClient.GetDailyRates Method

maurizuki edited this page Oct 22, 2020 · 3 revisions

GetDailyRates Method

Namespace: BIExchangeRates.Client
Assembly: BIExchangeRates.Client.dll

Returns the daily exchange rates for a specific date.

Overloads

Overload Description
GetDailyRates(DateTime, String, Language) Returns the daily exchange rates for a specific date for all the available currencies.
GetDailyRates(DateTime, IEnumerable<String>, String, Language) Returns the daily exchange rates for a specific date for a list of currencies.

GetDailyRates(DateTime, String, Language)

Returns the daily exchange rates for a specific date for all the available currencies.

Task<DailyRatesModel> GetDailyRates (DateTime referenceDate, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
referenceDate DateTime The reference date for the exchange rates.
currencyIsoCode String The ISO code of the reference currency ("EUR", "USD" or "ITL", case insensitive).
language Language The language of the returned data.

Returns

Task<DailyRatesModel>
A task that represents the asynchronous operation. The task result contains the daily exchange rates for a specific date for all the available currencies.

GetDailyRates(DateTime, IEnumerable<String>, String, Language)

Returns the daily exchange rates for a specific date for a list of currencies.

Task<DailyRatesModel> GetDailyRates (DateTime referenceDate, IEnumerable<string> baseCurrencyIsoCodes, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
referenceDate DateTime The reference date for the exchange rates.
baseCurrencyIsoCodes IEnumerable<String> The list of ISO codes of the required currencies (case insensitive).
currencyIsoCode String The ISO code of the reference currency ("EUR", "USD" or "ITL", case insensitive).
language Language The language of the returned data.

Returns

Task<DailyRatesModel>
A task that represents the asynchronous operation. The task result contains the daily exchange rates for a specific date for a list of currencies.

Clone this wiki locally