getInterestAndExchangeRates()

Returns values that are aggregated and grouped according to selected aggregate method.

Syntax

getInterestAndExchangeRatesResponse = 
	getInterestAndExchangeRates(searchRequestParameters searchRequestParameters);

Usage

Use getInterestAndExchangeRates to retrieve an aggregated result for selected groups/series.

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:getInterestAndExchangeRates>
			<searchRequestParameters>
				<aggregateMethod>D</aggregateMethod>
				<datefrom>2019-10-25</datefrom>
				<dateto>2019-11-26</dateto>
				<languageid>en</languageid>
				<min>false</min>
				<avg>true</avg>
				<max>true</max>
				<ultimo>false</ultimo>
				<!--1 or more repetitions:-->
				<searchGroupSeries>
					<groupid>11</groupid>
					<seriesid>SEKEURPMI</seriesid>
				</searchGroupSeries>
			</searchRequestParameters>
		</xsd:getInterestAndExchangeRates>
	</soap:Body>
</soap:Envelope>

Arguments

Name Type Description
searchRequestParameters searchRequestParameters structure containing the query parameters

Response

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>