Skip to content

IExchangeRatesClient.GetAnnualAverageRates Method

maurizuki edited this page Oct 22, 2020 · 2 revisions

GetAnnualAverageRates Method

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

Returns the annual average exchange rates for a specific year.

Overloads

Overload Description
GetAnnualAverageRates(Int32, String, Language) Returns the annual average exchange rates for a specific year for all the available currencies.
GetAnnualAverageRates(Int32, IEnumerable<String>, String, Language) Returns the annual average exchange rates for a specific year for a list of currencies.

GetAnnualAverageRates(Int32, String, Language)

Returns the annual average exchange rates for a specific year for all the available currencies.

Task<AnnualAverageRatesModel> GetAnnualAverageRates (int year, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
year Int32 The reference year 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<AnnualAverageRatesModel>
A task that represents the asynchronous operation. The task result contains the annual average exchange rates for a specific year for all the available currencies.

GetAnnualAverageRates(Int32, IEnumerable<String>, String, Language)

Returns the annual average exchange rates for a specific year for a list of currencies.

Task<AnnualAverageRatesModel> GetAnnualAverageRates (int year, IEnumerable<string> baseCurrencyIsoCodes, string currencyIsoCode, Language language = Language.En);

Parameters

Parameter Type Description
year Int32 The reference year 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<AnnualAverageRatesModel>
A task that represents the asynchronous operation. The task result contains the annual average exchange rates for a specific year for a list of currencies.

Clone this wiki locally