Space Docs
API ReferenceMaintenance Plan

maintenancePlan.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
customerIdstringYes—ID of the associated customer
siteIdstringYes—ID of the associated site
namestringYes—Name
descriptionunknownNo—Description
statusenum(draft, active, suspended, expired, canceled)Yes"draft"Status
frequencyMonthsintegerYes—Frequency months
startDateunknownNo—Start date
endDateunknownNo—End date
coveredSystemIdsstring[]No—Covered system ids
contractValueunknownNo—Contract value
ownerUserIdunknownNo—ID of the associated owner user
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Example

{
  "customerId": "550e8400-e29b-41d4-a716-446655440000",
  "siteId": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Example Name",
  "description": null,
  "status": "draft",
  "frequencyMonths": 0
}

On this page