getCalendarDays()

Returns calendar days with a marker identifying bank days i.e days with possible observation values.

It is possible to fetch 10 years at a time.

Syntax

getCalendarDaysResponse = 
	getCalendarDays(date datefrom, date dateto);

Usage

Use getCalendarDays to retrieve dates and bank day information. A bank day is a day on which banks are open.
It is only on bank days that one might expect to find observation values.

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:getCalendarDays>
         <datefrom>2001-10-01</datefrom>
         <dateto>2011-10-01</dateto>
      </xsd:getCalendarDays>
   </soap:Body>
</soap:Envelope>

Arguments

Name Type Description
datefrom date date from [yyyy-mm-dd]
dateto date date to [yyyy-mm-dd]

Faults

Calling this method with illegal parameters (including too great time span), 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>