Skip to content

IExchangeRatesClient.GetMonthlyAverageRates Method

maurizuki edited this page Oct 22, 2020 · 2 revisions

GetMonthlyAverageRates Method

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

Returns the monthly average exchange rates for specific month and year.

Overloads

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

GetMonthlyAverageRates(Int32, Int32, String, Language)

Returns the monthly average exchange rates for specific month and year for all the available currencies.

Task<MonthlyAverageRatesModel> GetMonthlyAverageRates (int month, int year, string currencyIsoCode, Language language = Language.En);

Parameters

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

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

Returns the monthly average exchange rates for specific month and year for a list of currencies.

Task<MonthlyAverageRatesModel> GetMonthlyAverageRates (int month, int year, IEnumerable<string> baseCurrencyIsoCodes, string currencyIsoCode, Language language = Language.En);

Parameters

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

Clone this wiki locally