RoutePlanningChangeEvent
A change made to one stop.
type RoutePlanningChangeEvent {
action: RoutePlanningChangeAction!
actorName: String
actorUserId: String!
at: DateTime!
date: DateTime!
fromDate: DateTime
fromSequence: Int
id: ID!
newCustomer: Boolean!
partnerId: String!
partnerName: String
reason: String
reassignedByName: String
reassignedToRepName: String
salesRepId: String!
salesRepName: String
source: RoutePlanningChangeSource!
toDate: DateTime
toSequence: Int
visitId: String!
}
Fields
RoutePlanningChangeEvent.action ● RoutePlanningChangeAction! non-null enum
What changed.
RoutePlanningChangeEvent.actorName ● String scalar
The name of the person who made the change.
RoutePlanningChangeEvent.actorUserId ● String! non-null scalar
The ID of the person who made the change.
RoutePlanningChangeEvent.at ● DateTime! non-null scalar
When the change was made.
RoutePlanningChangeEvent.date ● DateTime! non-null scalar
The day of the stop. For a move to another day, the new day.
RoutePlanningChangeEvent.fromDate ● DateTime scalar
The day the stop moved from. Only for a move to another day.
RoutePlanningChangeEvent.fromSequence ● Int scalar
The stop's position before it moved. Only for a reorder.
RoutePlanningChangeEvent.id ● ID! non-null scalar
The ID of the change record.
RoutePlanningChangeEvent.newCustomer ● Boolean! non-null scalar
True when an added stop is for a customer the rep created that day.
RoutePlanningChangeEvent.partnerId ● String! non-null scalar
The ID of the customer.
RoutePlanningChangeEvent.partnerName ● String scalar
The name of the customer.
RoutePlanningChangeEvent.reason ● String scalar
Why the stop was removed. Only for a removal.
RoutePlanningChangeEvent.reassignedByName ● String scalar
The person who reassigned the customer. Only for a stop removed because its customer was reassigned; null when the reassignment record is not found.
RoutePlanningChangeEvent.reassignedToRepName ● String scalar
The rep the customer was reassigned to. Only for a stop removed because its customer was reassigned; null when the reassignment record is not found.
RoutePlanningChangeEvent.salesRepId ● String! non-null scalar
The ID of the stop's rep.
RoutePlanningChangeEvent.salesRepName ● String scalar
The name of the stop's rep.
RoutePlanningChangeEvent.source ● RoutePlanningChangeSource! non-null enum
Whether the rep or an admin made the change.
RoutePlanningChangeEvent.toDate ● DateTime scalar
The day the stop moved to. Only for a move to another day.
RoutePlanningChangeEvent.toSequence ● Int scalar
The stop's position after it moved. Only for a reorder.
RoutePlanningChangeEvent.visitId ● String! non-null scalar
The ID of the visit that changed.
Member Of
RoutePlanningRepDay object ● RoutePlanningTeamDay object