APG|SGA
infosnowAPI Type 1API Type 2Divers

API Type 1 - Saison (Saison...)

A resort may contain several <Saison>-Tags to declare seasons.

<Saison name="Hauptsaison" from="2012-05-01" to="2012-10-31" main="false">
<name>
<de><![CDATA[Hauptsaison]]></de>
<fr><![CDATA[ ... ]]></fr>
...
</name>
</Saison>

<Saison name="Nebensaison" from="2012-12-08" to="2012-12-21" main="false">

...
</Saison>

...

The following attributes will always be present.

<Saison 
   name = "Hauptsaison"   name of season (this string is not suitable as identifier)
from = "2012-05-01" start date in ISO-Format (YYYY-MM-DD)
to = "2012-10-31" end date in ISO-Format (YYYY-MM-DD)
main = "false" main season (boolean flag)
/>

You can find translations within the Tag <name>. All values are optional, the tag <name> itself included.

<Saison ... >
<name>
<de><![CDATA[ ... german ... ]]></de>
<fr><![CDATA[ ... french ... ]]></fr>
<en><![CDATA[ ... english ... ]]></en>
<it><![CDATA[ ... italian ... ]]></it>
<nl><![CDATA[ ... dutch ... ]]></nl>
<es><![CDATA[ ... spanish ... ]]></es>
</name>
</Saison>

You can find operation hours within the Tag <operationHours>. All values are optional, the tag <operationHours> itself included.

<Saison ... >
<operationHours> <Mon> <From>HH:MM</From> <To>HH:MM</To> </Mon> <Tue> <From>HH:MM</From> <To>HH:MM</To> </Tue> <Wed> <From>HH:MM</From> <To>HH:MM</To> </Wed> <Thu> <From>HH:MM</From> <To>HH:MM</To> </Thu> <Fri> <From>HH:MM</From> <To>HH:MM</To> </Fri> <Sat> <From>HH:MM</From> <To>HH:MM</To> </Sat> <Sun> <From>HH:MM</From> <To>HH:MM</To> </Sun> </operationHours>
</Saison>