Skip to main content

RoutePlanningRepVisit

One visit of a rep, as the rep's visit list shows it: the customer, the day, what happened and where.

type RoutePlanningRepVisit {
checkInAt: DateTime
checkInLatitude: Float
checkInLongitude: Float
checkOutAt: DateTime
date: DateTime!
displayStatus: RoutePlanningVisitDisplayStatus!
noOrderReason: String
notes: String
outcome: VisitOutcome
partnerId: ID!
partnerName: String
removed: Boolean!
sequence: Int!
unplanned: Boolean!
visitId: ID!
}

Fields​

RoutePlanningRepVisit.checkInAt ● DateTime scalar​

When the rep checked in.

RoutePlanningRepVisit.checkInLatitude ● Float scalar​

Where the rep checked in: latitude.

RoutePlanningRepVisit.checkInLongitude ● Float scalar​

Where the rep checked in: longitude.

RoutePlanningRepVisit.checkOutAt ● DateTime scalar​

When the rep checked out.

RoutePlanningRepVisit.date ● DateTime! non-null scalar​

The day of the visit.

RoutePlanningRepVisit.displayStatus ● RoutePlanningVisitDisplayStatus! non-null enum​

The visit's status as shown: a planned visit on a past day reads as missed.

RoutePlanningRepVisit.noOrderReason ● String scalar​

Why no order was placed, when the rep gave a reason.

RoutePlanningRepVisit.notes ● String scalar​

The rep's notes.

RoutePlanningRepVisit.outcome ● VisitOutcome enum​

Whether an order was placed, once the visit ended.

RoutePlanningRepVisit.partnerId ● ID! non-null scalar​

The ID of the customer.

RoutePlanningRepVisit.partnerName ● String scalar​

The name of the customer.

RoutePlanningRepVisit.removed ● Boolean! non-null scalar​

True when the visit was taken off the route.

RoutePlanningRepVisit.sequence ● Int! non-null scalar​

The visit's position in its day.

RoutePlanningRepVisit.unplanned ● Boolean! non-null scalar​

True when the rep added the visit outside a planned route.

RoutePlanningRepVisit.visitId ● ID! non-null scalar​

The ID of the visit.

Member Of​

RoutePlanningRepVisits object