Tour
Represents the active and target tour objects
interface Tour {
date: Date!
employee: Employee
endPoint: TourStartLocation!
estimatedEnd: Time
hasExternalClients: Boolean!
maxWorkTime: Int!
name: String!
residentialPark: ResidentialPark!
route: String
startTime: Time!
startingPoint: TourStartLocation!
timeBlock: TimeBlock!
totalValue: Int!
type: TourType!
vehicle: Vehicle
}
Fields
Tour.date ● Date! non-null scalar
The date of the given tour
Tour.employee ● Employee object
The employee assigned to this tour. Returns null, if there is no employee assigned yet.
Tour.endPoint ● TourStartLocation! non-null enum
The place this tour should end
Tour.estimatedEnd ● Time scalar
The estimated end of the tour. Returns null if the end of this tour is not yet estimated.
Tour.hasExternalClients ● Boolean! non-null scalar
Returns true if there are any external clients within this tour.
Tour.maxWorkTime ● Int! non-null scalar
The max total work time for the tour.
Tour.name ● String! non-null scalar
The name of the given tour
Tour.residentialPark ● ResidentialPark! non-null object
The park this tour is assigned to.
Tour.route ● String scalar
The routed path for this tour.
Tour.startTime ● Time! non-null scalar
The time this tour should start.
Tour.startingPoint ● TourStartLocation! non-null enum
The place this tour should start
Tour.timeBlock ● TimeBlock! non-null enum
The time block when the tour is taking place
Tour.totalValue ● Int! non-null scalar
Sum of the reference values of all tour work items.
Tour.type ● TourType! non-null enum
Shows the type of the tour
Tour.vehicle ● Vehicle object
The vehicle used for this tour. If null the tour is performed by foot.
Implemented By
ActiveTour object ● TargetTour object