Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias RoutingTime

RoutingTime:
    | { arrivalTime?: never; departureTime?: string }
    | { arrivalTime?: string; departureTime?: never }

Either the departure or the arrival time. The API treats them as alternative time types, so setting both is a type error.

Type Declaration

  • { arrivalTime?: never; departureTime?: string }
    • OptionalarrivalTime?: never
    • OptionaldepartureTime?: string

      Time of departure. Format: YYYY-MM-DDTHH:MM

  • { arrivalTime?: string; departureTime?: never }
    • OptionalarrivalTime?: string

      Desired arrival time. Format: YYYY-MM-DDTHH:MM

    • OptionaldepartureTime?: never
Was this helpful?