Magidoc

PlanModesInput
Input Object

Mode selections for the plan search.

Fields

#

direct

Street mode that is used when searching for itineraries that don't use any transit. If more than one mode is selected, at least one of them must be used but not necessarily all. There are modes that automatically also use walking such as the rental modes. To force rental to be used, this should only include the rental mode and not WALK in addition.

directOnly

Should only the direct search without any transit be done.

transit

Modes for different phases of an itinerary when transit is included. Also includes street mode selections related to connecting to the transit network and transfers. By default, all transit modes are usable.

transitOnly

Should only the transit search be done and never suggest itineraries that don't contain any transit legs.

Usages

#

References

#

  • Argument modes of field planConnection from type QueryType