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>W</aggregateMethod>
            <avg>true</avg>
            <datefrom>2011-01-01</datefrom>
            <dateto>2011-03-01</dateto>
            <languageid>en</languageid>
            <max>true</max>
            <min>false</min>
            <!--1 or more repetitions:-->
            <searchGroupSeries>
               <groupid>6</groupid>
               <seriesid>SETB1MBENCHC</seriesid>
            </searchGroupSeries>
	    <ultimo>false</ultimo>
         </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>