Skip to content

No connections in response JSON #534

Answered by pablohoch
1Maxnet1 asked this question in Q&A
Discussion options

You must be logged in to vote

For the destination, the lat and lng fields need to be included directly in the InputPosition - there is no position field.

With these class restrictions, it returns no results, but your request works with the position fix and without allowed_claszes:

{
  "_type": "IntermodalRoutingRequest",
  "start": {
    "_type": "IntermodalPretripStart",
    "position": {
      "lat": 47.839134,
      "lng": 7.715423
    },
    "interval": {
      "begin": 1726063309,
      "end": 1726066909
    },
    "min_connection_count": 5,
    "extend_interval_earlier": true,
    "extend_interval_later": true
  },
  "start_modes": [
    {
      "mode": {
        "_type": "FootPPR",
        "search_options": {
 …

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@felixguendling
Comment options

@1Maxnet1
Comment options

@felixguendling
Comment options

@1Maxnet1
Comment options

Comment options

You must be logged in to vote
10 replies
@1Maxnet1
Comment options

@1Maxnet1
Comment options

@1Maxnet1
Comment options

@pablohoch
Comment options

Answer selected by 1Maxnet1
@pablohoch
Comment options

@1Maxnet1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants