Skip to main content
MUTATION
updateMaintenanceSchedule(input: UpdateMaintenanceScheduleInput!, templateId: String!): EventTemplate!

Arguments

The new settings of the schedule.

templateId
String!
required

Id of the maintenance schedule to edit.

assignedUser

The user the schedule's events are assigned to.

description
String

Longer text describing the schedule.

equipment

The equipment the schedule maintains.

equipmentId
String

Id of the equipment the schedule maintains.

id
String!

Unique identifier of the schedule.

inspectionTemplateId
String

Id of the inspection template run for each of the schedule's events.

nextEventAt
DateTime

When the schedule's next upcoming event starts.

notes
String

Free-text notes on the schedule.

recurrence
String!

Recurrence rule in iCalendar RRULE syntax, for example 'FREQ=MONTHLY;INTERVAL=3'.

title
String!

Title given to each event the schedule generates.

type
String!

Kind of event the schedule generates: one of 'INSPECTION' (Inspection), 'TRAINING' (Training), 'INCIDENT' (Incident), 'PERMIT' (Permit deadline), 'EQUIPMENT' (Equipment maintenance), 'REPORTING' (Report deadline) or 'IBC' (IBC meeting).

Mutation
Variables
Response