Skip to content

regions rnv modules stations packages 1

silsha edited this page Nov 19, 2014 · 1 revision

/regions/rnv/modules/stations/packages/1

Nutzen

Gibt eine JSON mit der Liste aller Haltestellen samt shortname, Geokoordinaten, Name und hafasID aus.

Parameter

Keine Parameter

Beisipelrequest (curl)

    curl 'http://rnv.the-agent-factory.de:8080/easygo2/rest/regions/rnv/modules/stations/packages/1' \
    -H 'Accept: application/json'

Bespielresponse

        {
      "name": "RNV-Stations",
      "stations": [
        {
          "longName": "ABB Tor 8",
          "shortName": "KFAB",
          "longitude": "8.4969175",
          "latitude": "49.50891139",
          "hafasID": "2352",
          "elementID": 2352
        },
        {
          "longName": "Abendakademie",
          "shortName": "MIAA",
          "longitude": "8.469930278",
          "latitude": "49.49171806",
          "hafasID": "2447",
          "elementID": 2447
        },
        {
          "longName": "Abteistraße",
          "shortName": "GAAB",
          "longitude": "8.407131389",
          "latitude": "49.46825778",
          "hafasID": "2043",
          "elementID": 2043
        },
        []
      ],
      "regionID": 3,
      "groupURIs": [],
      "elementID": 1
    }