Skip to main content

GenerateTourPlansPayload

Payload of the generateTourPlans mutation.

type GenerateTourPlansPayload {
routeOptimization: TourRouteOptimizationJob
tourPlans: [TourPlan!]!
}

Fields​

GenerateTourPlansPayload.routeOptimization ● TourRouteOptimizationJob object​

The background job routing the generated tours with GraphHopper. Null when nothing needs routing: a dry run, routing is disabled, or no tour has a stop outside the park.

GenerateTourPlansPayload.tourPlans ● [TourPlan!]! non-null object​

The generated tour plans, one per day of the range, with estimated transit times.

Returned By​

generateTourPlans mutation