Skip to main content

RoutePlanningRunInput

What a planning run covers. Omit a field to use the organization's route planning rules.

input RoutePlanningRunInput {
endDate: DateTime
repIds: [ID!]
replanMode: RoutePlanningReplanMode
startDate: DateTime
}

Fields​

RoutePlanningRunInput.endDate ● DateTime scalar​

The last day to plan, at most 30 working days after the first. Omit it to plan ahead the number of working days the rules set.

RoutePlanningRunInput.repIds ● [ID!] list scalar​

The reps to plan. Omit it for the reps the rules cover, limited to your team.

RoutePlanningRunInput.replanMode ● RoutePlanningReplanMode enum​

Keep or rebuild existing stops. Omit it for the rules' choice.

RoutePlanningRunInput.startDate ● DateTime scalar​

The first day to plan. Omit it for today; an earlier day counts as today.

Member Of​

applyRoutePlanningRun mutation ● routePlanningRunPreview query