Skip to main content

TourWorkItem

Represents a single tour work item

interface TourWorkItem {
actualEnd: Time
actualStart: Time
actualWorkSeconds: Int
comments: [Comment!]!
description: String
deviations: [Deviation!]!
estimatedEnd: Time
estimatedStart: Time
id: TourWorkItemID!
location: Geolocation
origin: TourEntry
referenceValue: Int!
state: WorkItemState!
timeOfDay: TimeOfDayType!
timeTrackingHistory: [AuditLogEntry!]!
tour: ActiveTour!
}

Fields

TourWorkItem.actualEnd ● Time scalar

The actual end of a house visit

TourWorkItem.actualStart ● Time scalar

The actual start of a house visit

TourWorkItem.actualWorkSeconds ● Int scalar

Difference btw actual start and actual end

TourWorkItem.comments ● [Comment!]! non-null object

List of additional comments by the employees.

TourWorkItem.description ● String scalar

Optional description made by a PDL.

TourWorkItem.deviations ● [Deviation!]! non-null enum

Shows the actual type of the deviation, if there is one

TourWorkItem.estimatedEnd ● Time scalar

Estimated end time

TourWorkItem.estimatedStart ● Time scalar

Estimated start time

TourWorkItem.id ● TourWorkItemID! non-null scalar

The unique identifier

TourWorkItem.location ● Geolocation object

The location of this entry

TourWorkItem.origin ● TourEntry interface

Connection to the original tour entry (source).

TourWorkItem.referenceValue ● Int! non-null scalar

Reference value of the Benefit in minutes, up to 3 digits. Shows the average execution time of the Benefit

TourWorkItem.state ● WorkItemState! non-null enum

State of the work item

TourWorkItem.timeOfDay ● TimeOfDayType! non-null enum

The time of the day this work item is planned for.

TourWorkItem.timeTrackingHistory ● [AuditLogEntry!]! non-null object

The change log history for the given work item

TourWorkItem.tour ● ActiveTour! non-null object

The tour this work item belongs to.

Returned By

adjustWorkItemTimes mutation ● startWorkItemTimer mutation ● stopWorkItemTimer mutation ● tourWorkItem query

Member Of

ActiveTour object ● AttendanceTimer object ● MoveWorkItemPayload object ● PerformanceRecordEntry object ● PerformanceRecordEntryItem object

Implemented By

ActivityWorkItem object ● ClientPoolWorkItem object ● SingleClientWorkItem object