Skip to main content

AddPlannedActivityInput

The input for adding a new plannedActivity to the plannedActivity plan of the residential park.

input AddPlannedActivityInput {
daysOfWeek: [DayOfWeekType!]!
description: String
fill: Boolean
plannedActivity: String!
position: PlannedActivityPosition!
referenceValue: Int!
requiredQualification: Qualification
residentialParkId: ResidentialParkID!
shift: TimeBlock!
timeOfDayReferences: [TimeOfDayType!]
tourTemplateReferences: [ShiftPlanTemplateID!]
}

Fields​

AddPlannedActivityInput.daysOfWeek ● [DayOfWeekType!]! non-null enum​

The days when the planned plannedActivity needs to be added

AddPlannedActivityInput.description ● String scalar​

The description of the planned plannedActivity

AddPlannedActivityInput.fill ● Boolean scalar​

Whether this is a Fill activity block (REQ-SC-017.6). When true, referenceValue must be 0, position must be AS_LAST_BLOCK, timeOfDayReferences must not be set, and tourTemplateReferences is required (non-empty).

AddPlannedActivityInput.plannedActivity ● String! non-null scalar​

The name of the planned plannedActivity

AddPlannedActivityInput.position ● PlannedActivityPosition! non-null enum​

The time blocks in which the planned plannedActivity needs to be added

AddPlannedActivityInput.referenceValue ● Int! non-null scalar​

The reference value of the planned plannedActivity

AddPlannedActivityInput.requiredQualification ● Qualification scalar​

The required qualification of the planned plannedActivity

AddPlannedActivityInput.residentialParkId ● ResidentialParkID! non-null scalar​

The unique identifier of the residential park.

AddPlannedActivityInput.shift ● TimeBlock! non-null enum​

The shift this activity is scheduled for.

AddPlannedActivityInput.timeOfDayReferences ● [TimeOfDayType!] list enum​

The specific Zeitblock(s) to anchor to, required when position is START_OF_TIME_BLOCK or END_OF_TIME_BLOCK. Must not be set for any other position. To anchor to every Zeitblock of the Shift, pass all of the Shift's Zeitblock values.

AddPlannedActivityInput.tourTemplateReferences ● [ShiftPlanTemplateID!] list scalar​

The Tour Templates restricting which Tours this activity is distributed into (REQ-SC-017.7): each must belong to the activity's Shift and match its Minimum Qualification. Required (non-empty) when fill is true, otherwise optional.

Member Of​

addPlannedActivities mutation