Ero sivun ”Journeys API” versioiden välillä

209 merkkiä poistettu ,  16. heinäkuuta 2014 kello 04.32
Rivi 214: Rivi 214:
         "moreData" : false
         "moreData" : false
     },
     },
     "data" : {
     "data" : [
         "journeys" : [
         {
             {
             "href" : "http://example.com/journeys/api/journeys/111",
                "href" : "http://example.com/journeys/api/journeys/111",
            "route" : "http://example.com/journeys/api/routes/123",
                "route" : "http://example.com/journeys/api/routes/123",
            "departureTime" : "08:00:00+0300",
                "departureTime" : "08:00:00+0300",
            "dayTypes" : ["Monday","Tuesday","Wednesday","Thursday","Friday"],
                "dayTypes" : ["Monday","Tuesday","Wednesday","Thursday","Friday"],
            "dayTypeExceptions" : [
                "dayTypeExceptions" : [
                {
                    {
                    "date" : "2014-05-05",
                        "date" : "2014-05-05",
                    "runs" : "no"
                        "runs" : "no"
                }
            ],
            "calls" : [
                {
                    "arrival" : "08:00:00+0300",
                    "departure" : "08:00:00+0300",
                    "stopPoint" : {
                        "href" : "http://example.com/journeys/api/stop-points/222"
                        "location" : "61.44960,23.87165",
                        "name" : "Hermia",
                        "shortName" : "3633" 
                     }
                     }
                 ],
                 },
                 "calls" : [
                 {
                    {
                     "arrival" : "08:10:00+0300",
                        "arrival" : "08:00:00+0300",
                    "departure" : "08:10:00+0300",
                        "departure" : "08:00:00+0300",
                    "stopPoint" : {
                        "stopPoint" : {
                        "href" : "http://example.com/journeys/api/stop-points/223"
                            "href" : "http://example.com/journeys/api/stop-points/222"
                        "location" : "61.43054,23.81566",
                            "location" : "61.44960,23.87165",
                        "name" : "Vuoreksen koulu",
                            "name" : "Hermia",
                        "shortName" : "3635"
                            "shortName" : "3633" 
                        }
                     },
                    {
                        "arrival" : "08:10:00+0300",
                        "departure" : "08:10:00+0300",
                        "stopPoint" : {
                            "href" : "http://example.com/journeys/api/stop-points/223"
                            "location" : "61.43054,23.81566",
                            "name" : "Vuoreksen koulu",
                            "shortName" : "3635"
                        }
                    },
                    {
                        "arrival" : "08:20:00+0300",
                        "departure" : "08:20:00+0300",
                        "stopPoint" : {
                            "href" : "http://example.com/journeys/api/stop-points/224"
                            "location" : "61.44273,23.86268",
                            "name" : "Näyttämönkatu",
                            "shortName" : "3637"
                        }
                     }
                     }
                 ]
                 },
             }
                {
         ]
                    "arrival" : "08:20:00+0300",
     }
                    "departure" : "08:20:00+0300",
                    "stopPoint" : {
                        "href" : "http://example.com/journeys/api/stop-points/224"
                        "location" : "61.44273,23.86268",
                        "name" : "Näyttämönkatu",
                        "shortName" : "3637"
                    }
                }
             ]
         }
     ]
}
}
</pre>
</pre>
0

muokkausta