getLatestInterestAndExchangeRates()

Returns the latest available observation values for the selected seriesid(s).

Syntax

getLatestInterestAndExchangeRatesResponse = 
	getLatestInterestAndExchangeRates(String languageid, String[] seriesid);

Usage

Use getLatestInterestAndExchangeRates to retrieve the latest observation for selected seriesid(s).

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:getLatestInterestAndExchangeRates>
        	<languageid>en</languageid>
        	<seriesid>SEKUSDPMI</seriesid>
		<seriesid>SEKGBPPMI</seriesid>
		<seriesid>SECBDEPOEFF</seriesid>
		<seriesid>SEKCADPMI</seriesid>
      </xsd:getLatestInterestAndExchangeRates>   
      </soap:Body>
</soap:Envelope>

Arguments

Name Type Description
languageid string Language - [en|sv]
seriesid string[] Array of seriesid(s). See getInterestAndExchangeNames for available IDs

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>