Skip to main content

RoutePlanningRunRep

What a planning run did for one rep.

type RoutePlanningRunRep {
added: Int!
addedMissed: Int!
addedNewCustomers: Int!
addedStops: [RoutePlanningRunStop!]!
addedVisitIds: [ID!]!
attention: [String!]!
deferred: [RoutePlanningRunDeferredCustomer!]!
error: String
kept: Int!
reassignedRemovedStops: [RoutePlanningRunRemovedStop!]!
reassignedRemovedVisitIds: [ID!]!
removed: Int!
removedStops: [RoutePlanningRunRemovedStop!]!
removedVisitIds: [ID!]!
repId: ID!
repName: String!
status: RoutePlanningRepRunStatus!
}

Fields​

RoutePlanningRunRep.added ● Int! non-null scalar​

Stops added.

RoutePlanningRunRep.addedMissed ● Int! non-null scalar​

Stops added to re-plan missed visits.

RoutePlanningRunRep.addedNewCustomers ● Int! non-null scalar​

Stops added for customers never visited before.

RoutePlanningRunRep.addedStops ● [RoutePlanningRunStop!]! non-null object​

The stops added, for a preview or the run just applied. Empty on later reads.

RoutePlanningRunRep.addedVisitIds ● [ID!]! non-null scalar​

The visits the run added. Empty for a preview.

RoutePlanningRunRep.attention ● [String!]! non-null scalar​

Codes for things to look at, such as PENDING_APPROVAL_CUSTOMERS:2, STOPS_WITHOUT_LOCATION:1 or NO_PLANNABLE_DAYS.

RoutePlanningRunRep.deferred ● [RoutePlanningRunDeferredCustomer!]! non-null object​

Customers who were due but could not be placed.

RoutePlanningRunRep.error ● String scalar​

Why planning failed for this rep.

RoutePlanningRunRep.kept ● Int! non-null scalar​

Existing stops in the window that stay.

RoutePlanningRunRep.reassignedRemovedStops ● [RoutePlanningRunRemovedStop!]! non-null object​

The stops removed because their customer now belongs to another rep, for a preview or the run just applied. Empty on later reads.

RoutePlanningRunRep.reassignedRemovedVisitIds ● [ID!]! non-null scalar​

Stops removed because their customer now belongs to another rep.

RoutePlanningRunRep.removed ● Int! non-null scalar​

Planner stops removed when rebuilding.

RoutePlanningRunRep.removedStops ● [RoutePlanningRunRemovedStop!]! non-null object​

The stops removed, for a preview or the run just applied. Empty on later reads.

RoutePlanningRunRep.removedVisitIds ● [ID!]! non-null scalar​

The visits the run removed.

RoutePlanningRunRep.repId ● ID! non-null scalar​

The ID of the rep.

RoutePlanningRunRep.repName ● String! non-null scalar​

The name of the rep.

RoutePlanningRunRep.status ● RoutePlanningRepRunStatus! non-null enum​

How the run went for this rep.

Member Of​

RoutePlanningRun object