getAnnualAverageExchangeRates()

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

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

getAnnualAverageExchangeRatesResponse = 
	getAnnualAverageExchangeRates(int year, int month, String languageid);

Usage

Use getAnnualAverageExchangeRates to retrieve accumulated fixing rates for selected year and 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:getAnnualAverageExchangeRates>
       		<year>2010</year>
       		<month>4</month>
       		<languageid>en</languageid>
   		</xsd:getAnnualAverageExchangeRates>
	</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>