Skip to main content

RoutePlanningRepHistory

A rep's route history over a window, and the balance of their plan.

type RoutePlanningRepHistory {
balance: RoutePlanningBalance!
currencyCode: String!
days: [RoutePlanningRepHistoryDay!]!
from: DateTime!
salesRepId: ID!
salesRepName: String
timeZone: String!
to: DateTime!
today: DateTime!
totals: RoutePlanningRepHistoryTotals!
}

Fields​

RoutePlanningRepHistory.balance ● RoutePlanningBalance! non-null object​

Where the rep's plan stands now.

RoutePlanningRepHistory.currencyCode ● String! non-null scalar​

The ISO code of the organization's base currency, for the order values.

RoutePlanningRepHistory.days ● [RoutePlanningRepHistoryDay!]! non-null object​

One row per day with any stop, removal or order, earliest first.

RoutePlanningRepHistory.from ● DateTime! non-null scalar​

The first day of the window.

RoutePlanningRepHistory.salesRepId ● ID! non-null scalar​

The ID of the rep.

RoutePlanningRepHistory.salesRepName ● String scalar​

The name of the rep.

RoutePlanningRepHistory.timeZone ● String! non-null scalar​

The organization's time zone.

RoutePlanningRepHistory.to ● DateTime! non-null scalar​

The last day of the window.

RoutePlanningRepHistory.today ● DateTime! non-null scalar​

The organization's today.

RoutePlanningRepHistory.totals ● RoutePlanningRepHistoryTotals! non-null object​

Totals over the window.

Returned By​

myRoutePlanningHistory query ● routePlanningRepHistory query