APG|SGA
infosnowAPI Type 1API Type 2Divers

API Type 2 - Get stop points

Get available stop points for routing searches. This list may be restricted according to your permissions (see resorts/permissions).

API endpoint

route/stops

Request method

GET

Request headers

-

URL parameters

resorts

This parameter is optional. This lets you filter by resort id(s). No comma at the beginning or end of this string.

resorts=87,88,89

Response content

main entities

EntityTypeValuesDescription
stops[]arraystopslist of stops

stops

EntityTypeValuesDescription
idintany valid valueId of stop point
namestringany valid valuename of stop point
transportKeystringany valid valueuser key for facility if it belongs to one
stopOnDemandbooleanany valid valuestop on demand only

Example

{
	"stops": [{
		"id": 17,
		"name": "Betten Dorf, Bergstation H1"
	}, {
		"id": 3,
		"name": "Betten Dorf, Talstation H2"
	}, {
		"id": 5,
		"name": "Betten Talstation, Bahn"
	}, {
		"id": 6,
		"name": "Betten Talstation, Bus"
	}, {
		"id": 2,
		"name": "Betten Talstation, H1"
	}, {
		"id": 7,
		"name": "Betten Talstation, H3"
	}, {
		"id": 4,
		"name": "Bettmeralp, Bergstation H2"
	}, {
		"id": 1,
		"name": "Bettmeralp, Bergstation H3"
	}, {
		"id": 19,
		"name": "Fiesch, Bahn"
	}, {
		"id": 14,
		"name": "Fiesch, Talstation R1"
	}, {
		"id": 15,
		"name": "Fiescheralp, Bergstation R1"
	}, {
		"id": 8,
		"name": "Greich",
		"stopOnDemand": true
	}, {
		"id": 18,
		"name": "M\u00f6rel, Bahn"
	}, {
		"id": 20,
		"name": "M\u00f6rel, Bus"
	}, {
		"id": 9,
		"name": "M\u00f6rel, Talstation A1"
	}, {
		"id": 16,
		"name": "M\u00f6rel, Talstation A3"
	}, {
		"id": 12,
		"name": "Ried-M\u00f6rel, Bergstation A1"
	}, {
		"id": 13,
		"name": "Ried-M\u00f6rel, Talstation A2"
	}, {
		"id": 11,
		"name": "Riederalp Mitte"
	}, {
		"id": 10,
		"name": "Riederalp West"
	}]
}