Represents a trip planner response, will be serialized into XML or JSON by Jersey
name | data type | type | namespace | min/max occurs | description |
---|---|---|---|---|---|
debugOutput | debugOutput | element | 0/1 | Debugging and profiling information | |
elevationMetadata | elevationMetadata | element | 0/1 | ||
error | plannerError | element | 0/1 | The error (if any) that this response raised. | |
plan | tripPlan | element | 0/1 | The actual trip plan. | |
requestParameters | (custom) | element | 0/1 | A dictionary of the parameters provided in the request that triggered this response. |
Example
<r-----> <requestParameters>...</requestParameters> <debugOutput> <precalculationTime>...</precalculationTime> <pathCalculationTime>...</pathCalculationTime> <pathTimes>...</pathTimes> <renderingTime>...</renderingTime> <totalTime>...</totalTime> <timedOut>...</timedOut> </debugOutput> <elevationMetadata> <ellipsoidToGeoidDifference>...</ellipsoidToGeoidDifference> <geoidElevation>...</geoidElevation> </elevationMetadata> <plan> <date>...</date> <from> <name>...</name> <stopId/> <stopCode>...</stopCode> <platformCode>...</platformCode> <lon>...</lon> <lat>...</lat> <arrival>...</arrival> <departure>...</departure> <orig>...</orig> <zoneId>...</zoneId> <stopIndex>...</stopIndex> <stopSequence>...</stopSequence> <vertexType>...</vertexType> <bikeShareId>...</bikeShareId> <boardAlightType>...</boardAlightType> <flagStopArea/> </from> <to> <name>...</name> <stopId/> <stopCode>...</stopCode> <platformCode>...</platformCode> <lon>...</lon> <lat>...</lat> <arrival>...</arrival> <departure>...</departure> <orig>...</orig> <zoneId>...</zoneId> <stopIndex>...</stopIndex> <stopSequence>...</stopSequence> <vertexType>...</vertexType> <bikeShareId>...</bikeShareId> <boardAlightType>...</boardAlightType> <flagStopArea/> </to> <itinerary> <duration>...</duration> <startTime>...</startTime> <endTime>...</endTime> <walkTime>...</walkTime> <transitTime>...</transitTime> <waitingTime>...</waitingTime> <walkDistance>...</walkDistance> <walkLimitExceeded>...</walkLimitExceeded> <elevationLost>...</elevationLost> <elevationGained>...</elevationGained> <transfers>...</transfers> <fare/> <legs/> <tooSloped>...</tooSloped> </itinerary> </plan> <error> <id>...</id> <msg>...</msg> <message>...</message> <missing>...</missing> <noPath>...</noPath> </error> </r----->