getMonthlyAverageExchangeRates()

Averages are calculated on published observations for the daily fixing rates.

Fixing rates correspond to the average of the agents' selling quotes. Fixing rates are calculated daily at 11 a.m. for Treasury Bills and Government Bonds.

Syntax

getMonthlyAverageExchangeRatesResponse = 
	getMonthlyAverageExchangeRates(int year, int month, String languageid);

Usage

Use getMonthlyAverageExchangeRates to retrieve accumulated fixing rates for selected year and month aggregated by month. The information text will be in the selected languageid

Example-SOAP UI

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://swea.riksbank.se/xsd">
<soap:Header/>
	<soap:Body>
   		<xsd:getMonthlyAverageExchangeRates>
         <year>2011</year>
         <month>3</month>
         <languageid>en</languageid>
      </xsd:getMonthlyAverageExchangeRates>
	</soap:Body>
</soap:Envelope>

Arguments

Name Type Description
year int year - yyyy. For example 2010
month int month - mm. Range 1-12
languageid string Language - [en|sv]

Faults

Calling this method with illegal parameters, will return a permission denied

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /sweaWS/services/SweaWebServiceHttpSoap12Endpoint
on this server.</p>
</body></html>