APG|SGA
infosnowAPI Type 1API Type 2Divers

API Type 2 - lifts

main entities

EntityTypeValuesDescription
countintany valid valuenumber of objects
openintany valid valuenumber of opened objects
lengthintany valid valuetotal length of objects in meter
length_openintany valid valuetotal length of opened objects in meter
itemsarrayitemsitems

items

EntityTypeValuesDescription
idintany valid valueid of facility
myidintany valid valueyour id of facility (id of infsnow will be ignored in this case)
namestringmax. 255 charsname of facility
translationobjecttranslationname translations
initialstringmax. 255 charscustomer specific key/number
typeinttypesid of type value
groupintany valid valueid of group
coordsobjectcoordsgeographical location
stateintstatesid of state
stateRemarksobjecttranslationremarks
conditionobjectconditioncondition
seasonint0 (all year) | 1 (winter) | 2 (summer)season(s)
lengthintany valid valuelength of facility in meters
length_openintany valid valueopen length (dynamic) of facility in meters
snow_temperatureintany valid valuesnow temperature (cross-country)
water_temperatureintany valid valuewater temperature (baths and lakes)
descriptionobjectdescriptionall year or current season
description-wiobjectdescriptionwinter (if not filtered by season and values are not identical for both seasons)
description-suobjectdescriptionsummer (if not filtered by season and values are not identical for both seasons)
linkobjectlinksall year or current season
link-wiobjectlinkswinter (if not filtered by season and values are not identical for both seasons)
link-suobjectlinkssummer (if not filtered by season and values are not identical for both seasons)
operationTimeobjectoperationTimeoperationTime (schedule-Parameter must include "time")
schedulearrayscheduleschedule (schedule-Parameter must include "plan")

translation

EntityTypeValuesDescription
destringmax. 255 charsgerman
frstringmax. 255 charsfrench
itstringmax. 255 charsitalian
enstringmax. 255 charsenglish
esstringmax. 255 charsspanish
nlstringmax. 255 charsdutch

coords

EntityTypeValuesDescription
latitudedoubleany valid valuelatitude (WGS84)
longitudedoubleany valid valuelongitude (WGS84)

description

EntityTypeValuesDescription
destringany valid valuegerman
frstringany valid valuefrench
itstringany valid valueitalian
enstringany valid valueenglish
esstringany valid valuespanish
nlstringany valid valuedutch

links

EntityTypeValuesDescription
deobjectlinkgerman
frobjectlinkfrench
itobjectlinkitalian
enobjectlinkenglish
esobjectlinkspanish
nlobjectlinkdutch

link

EntityTypeValuesDescription
urlstringmax. 255 charslink url
textstringmax. 255 charslink text

operationTime

EntityTypeValuesDescription
starttime00:00-24:00start time
endtime00:00-24:00end time
firstUptime00:00-24:00first uphill transportation if different from start (facilities only)
lastUptime00:00-24:00last uphill transportation if different from end (facilities only)
firstDowntime00:00-24:00first downhill transportation if different from start (facilities only)
lastDowntime00:00-24:00first downhill transportation if different from end (facilities only)
lastAscentItalytime00:00-24:00last uphill transportation from Italy (facilities only, depends on system instance)
lastAscentCHtime00:00-24:00last uphill transportation from Switzerland (facilities only, depends on system instance)
lastDescentItalytime00:00-24:00last downhill transportation to Italy (facilities only, depends on system instance)
lastDescentCHtime00:00-24:00last downhill transportation to Switzerland (facilities only, depends on system instance)

schedule

EntityTypeValuesDescription
startDatedateYYYY-MM-DDstart date
endDatedateYYYY-MM-DDend date
namestringmax. 255 charstitle of schedule
daysarray1-7weekdays
timesarraytime slots (10:00, 12:00-14:00, 22:00D)Suffix D = downhill only
Suffix U = uphill only
Suffix /1 = remark width id 1 relevant
remarksarrayremarksremarks

remarks

EntityTypeValuesDescription
idintany valid valueid of remarks
destringany valid valuegerman
frstringany valid valuefrench
itstringany valid valueitalian
enstringany valid valueenglish

condition

EntityTypeValuesDescription
idintany valid valueid of condition
translationobjecttranslationcondition translations