Skip to content

Latest commit

 

History

History
321 lines (314 loc) · 7.8 KB

DemoPayload.md

File metadata and controls

321 lines (314 loc) · 7.8 KB

http://ice.portal2/jetty/api/v1/tripInfo

  "actualPosition" : 173933,
  "tripDate" : "2015-12-10",
  "trainType" : "ICE",
  "distanceFromLastStop" : 45828,
  "totalDistance" : 475988,
  "stops" : [
    {
      "station" : {
        "evaNr" : "8500010_00",
        "name" : "Basel SBB",
        "geocoordinates" : {
          "longitude" : 7.589169,
          "latitude" : 47.547077
        }
      },
      "info" : {
        "status" : 0,
        "passed" : true,
        "distance" : 0,
        "distanceFromStart" : 0
      },
      "track" : {
        "scheduled" : "12",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449742380000,
        "departureDelay" : "",
        "actualArrivalTime" : null,
        "scheduledArrivalTime" : null,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : 1449742380000
      }
    },
    {
      "station" : {
        "evaNr" : "8000026_00",
        "name" : "Basel Bad Bf",
        "geocoordinates" : {
          "longitude" : 7.607805,
          "latitude" : 47.567288
        }
      },
      "info" : {
        "status" : 0,
        "passed" : true,
        "distance" : 2648,
        "distanceFromStart" : 2648
      },
      "track" : {
        "scheduled" : "4",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449742980000,
        "departureDelay" : "",
        "actualArrivalTime" : 1449742800000,
        "scheduledArrivalTime" : 1449742740000,
        "arrivalDelay" : "+1",
        "scheduledDepartureTime" : 1449742980000
      }
    },
    {
      "station" : {
        "evaNr" : "8000107_00",
        "name" : "Freiburg(Breisgau) Hbf",
        "geocoordinates" : {
          "longitude" : 7.84117,
          "latitude" : 47.997697
        }
      },
      "info" : {
        "status" : 0,
        "passed" : true,
        "distance" : 50951,
        "distanceFromStart" : 53599
      },
      "track" : {
        "scheduled" : "1",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449745080000,
        "departureDelay" : "+1",
        "actualArrivalTime" : 1449744900000,
        "scheduledArrivalTime" : 1449744900000,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : 1449745020000
      }
    },
    {
      "station" : {
        "evaNr" : "8000290_00",
        "name" : "Offenburg",
        "geocoordinates" : {
          "longitude" : 7.946723,
          "latitude" : 48.476475
        }
      },
      "info" : {
        "status" : 0,
        "passed" : true,
        "distance" : 53824,
        "distanceFromStart" : 107423
      },
      "track" : {
        "scheduled" : "3",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449747060000,
        "departureDelay" : "+1",
        "actualArrivalTime" : 1449746880000,
        "scheduledArrivalTime" : 1449746880000,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : 1449747000000
      }
    },
    {
      "station" : {
        "evaNr" : "8000191_00",
        "name" : "Karlsruhe Hbf",
        "geocoordinates" : {
          "longitude" : 8.402181000000001,
          "latitude" : 48.993515
        }
      },
      "info" : {
        "status" : 0,
        "passed" : true,
        "distance" : 66510,
        "distanceFromStart" : 173933
      },
      "track" : {
        "scheduled" : "3",
        "actual" : "4"
      },
      "timetable" : {
        "actualDepartureTime" : 1449748980000,
        "departureDelay" : "+3",
        "actualArrivalTime" : 1449748800000,
        "scheduledArrivalTime" : 1449748680000,
        "arrivalDelay" : "+2",
        "scheduledDepartureTime" : 1449748800000
      }
    },
    {
      "station" : {
        "evaNr" : "8000244_00",
        "name" : "Mannheim Hbf",
        "geocoordinates" : {
          "longitude" : 8.468921,
          "latitude" : 49.479354
        }
      },
      "info" : {
        "status" : 0,
        "passed" : false,
        "distance" : 54255,
        "distanceFromStart" : 228188
      },
      "track" : {
        "scheduled" : "3",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449750960000,
        "departureDelay" : "",
        "actualArrivalTime" : 1449750420000,
        "scheduledArrivalTime" : 1449750180000,
        "arrivalDelay" : "+4",
        "scheduledDepartureTime" : 1449750960000
      }
    },
    {
      "station" : {
        "evaNr" : "8070003_00",
        "name" : "Frankfurt(M) Flughafen Fernbf",
        "geocoordinates" : {
          "longitude" : 8.570185,
          "latitude" : 50.053167
        }
      },
      "info" : {
        "status" : 0,
        "passed" : false,
        "distance" : 64236,
        "distanceFromStart" : 292424
      },
      "track" : {
        "scheduled" : "Fern 6",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449752940000,
        "departureDelay" : "",
        "actualArrivalTime" : 1449752760000,
        "scheduledArrivalTime" : 1449752760000,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : 1449752940000
      }
    },
    {
      "station" : {
        "evaNr" : "8005556_00",
        "name" : "Siegburg\/Bonn",
        "geocoordinates" : {
          "longitude" : 7.203026,
          "latitude" : 50.793915
        }
      },
      "info" : {
        "status" : 0,
        "passed" : false,
        "distance" : 127174,
        "distanceFromStart" : 419598
      },
      "track" : {
        "scheduled" : "3",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449755340000,
        "departureDelay" : "",
        "actualArrivalTime" : 1449755220000,
        "scheduledArrivalTime" : 1449755220000,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : 1449755340000
      }
    },
    {
      "station" : {
        "evaNr" : "8073368_00",
        "name" : "Köln Messe\/Deutz Gl.11-12",
        "geocoordinates" : {
          "longitude" : 6.974067,
          "latitude" : 50.941721
        }
      },
      "info" : {
        "status" : 0,
        "passed" : false,
        "distance" : 22991,
        "distanceFromStart" : 442589
      },
      "track" : {
        "scheduled" : "12",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : 1449756360000,
        "departureDelay" : "",
        "actualArrivalTime" : 1449756180000,
        "scheduledArrivalTime" : 1449756180000,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : 1449756360000
      }
    },
    {
      "station" : {
        "evaNr" : "8000085_00",
        "name" : "Düsseldorf Hbf",
        "geocoordinates" : {
          "longitude" : 6.794319,
          "latitude" : 51.219962
        }
      },
      "info" : {
        "status" : 0,
        "passed" : false,
        "distance" : 33399,
        "distanceFromStart" : 475988
      },
      "track" : {
        "scheduled" : "17",
        "actual" : ""
      },
      "timetable" : {
        "actualDepartureTime" : null,
        "departureDelay" : "",
        "actualArrivalTime" : 1449757620000,
        "scheduledArrivalTime" : 1449757620000,
        "arrivalDelay" : "",
        "scheduledDepartureTime" : null
      }
    }
  ],
  "stopInfo" : {
    "actualLast" : "8000191_00",
    "actualLastStarted" : "8000244",
    "actualNext" : "8000244_00",
    "finalStationName" : "Düsseldorf Hbf",
    "scheduledNext" : "8000244_00",
    "finalStationEvaNr" : "8000085_00"
  },
  "vzn" : "108"
}

http://ice.portal2/jetty/api/v1/status

{
  "serverTime" : 1449749986439,
  "speed" : 221.8000030517578,
  "latitude" : 49.404305,
  "connection" : true,
  "servicelevel" : "SERVICE",
  "longitude" : 8.547148
}

https://portal.imice.de/api1/rs/tripInfo/connection/8000244_00

https://portal.imice.de/api1/rs/pois/map/50.105662/8.658493/3921.9763328765366

https://portal.imice.de/api1/rs/pages/1259002220/775